News for hackers. Stuff that matters.
Re:Useful GCC warning options not enabled by -Wall -Wextra by mrich on Wednesday October 04, 2017 @12:06PM (#15401496)
clang implements it that way, most (all?) warnings from macro expansion are omitted. Maybe gcc does the same for some warnings, but I've only noticed it for clang.

I find clang's behavior particularly dangerous for warnings referring to removal of null pointer checks, which are undefined behavior (if (this != nullptr)...)

There should perhaps be an option to control this.

There are no comments on this comment yet.