-Wno-#warnings, what a funky name

Have you ever tried passing that option through any kind of configure
mechanism on a Unix-like system ?

You can expect hilarious results.

- make needs quoting twice, as # is a comment, e.g., you need something

CFLAGS = '-Wno-\#warnings'

- I still haven't the faintest idea how you're supposed to pass it thru
a configure script without getting any hilarious errors.

Could it be considered having an alternative name for that option, like
-Wno-sharp-warnings, just so that people actually wanting to use it
can have a less painful life ?

Looks like the GCC version of this warning is spelled:


(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!

Added in r304456