[cfe-dev] -Wno-#warnings, what a funky name

Marc Espie via cfe-dev cfe-dev at lists.llvm.org
Thu Jun 1 11:34:14 PDT 2017


On Thu, Jun 01, 2017 at 03:16:33PM +0000, David Blaikie wrote:
> 
>    Looks like the GCC version of this warning is spelled:
> 
>    -Wno-cpp
> 
>    (C, Objective-C, C++, Objective-C++ and Fortran only)
> 
>    Suppress warning messages emitted by #warning directives.
> 
>    Perhaps we could/should provide a matching alias.

Yes, please. That one is easy to get thru any kind of autoconfiguration
mechanism... and in makefiles!



More information about the cfe-dev mailing list