[cfe-dev] Warnings difference between gcc and clang

Edward Diener via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 9 15:19:10 PDT 2015


According to the gcc documentation if -Wall is used on the command line 
it can be overriddent by individual -Wno-xxx warnings which turn off 
individual warnings. But in clang if -Wall is used on the command line 
individual -Wno-xxx warnings are ignored.

I personally favor gcc's approach and would like to see clang treat 
warnings as gcc does.




More information about the cfe-dev mailing list