Timeline for A simple program with trains and inheritance
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 26, 2018 at 9:57 | vote | accept | agneau | ||
| Apr 25, 2018 at 20:04 | history | edited | yuri | CC BY-SA 3.0 |
added 113 characters in body
|
| Apr 25, 2018 at 20:02 | comment | added | yuri |
@Justin I agree that it's not a good idea to try to be -Weverything warning free but IMO it's a good idea for the discovering part you mentioned. Most people asking for guidance here have never seen a compiler warning in their life so this would certainly be a step forward. I'll edit the answer to point out this is merely designed to be a helper.
|
|
| Apr 25, 2018 at 19:56 | comment | added | Justin |
Definitely don't use -Weverything in clang. It's useful to discover warnings that could potentially be helpful, but it's a bad idea to try to be -Weverything warning free. I tend to use -Wall -Wextra -Wpedantic (and potentially turn on a few more helpful warnings)
|
|
| Apr 25, 2018 at 19:47 | history | answered | yuri | CC BY-SA 3.0 |