[cfe-dev] Warnings difference between gcc and clang
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Fri Oct 9 15:31:03 PDT 2015
On Fri, Oct 09, 2015 at 06:19:10PM -0400, Edward Diener via cfe-dev wrote:
> 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.
This is not true. clang is just order sensitive, so put the -Wno-xxx
flags *after* -Wall.
Joerg
More information about the cfe-dev
mailing list