InterviewSolution
Saved Bookmarks
| 1. |
Solve : GCC warnings? |
|
Answer» I am playing with GCC's warnings, and I haven't been able to figure out how to suppress some of them. declaration of ‘name’ shadows a member of ‘Person’on a case by case BASIS? Maybe with a macro? How do you guys do it? I know a lot of people would do something like Code: [Select]this->myName = namebut I find the extra 'my' cringy. I don't know why I don't like it. I just don't.rules for Wshadow have been changing in RESPONSE to complaints from devs - https://stackoverflow.com/a/15554949 |
|