dealii/dealii — pull request #297 by tamiko (2014-12-11 19:54:49+00:00)
Title: CMake: Correctly detect -Wno-... support for gcc

gcc does not emit a warning if an unknown -Wno-... flag is specified on the
command line, thus the ENABLE_IF_SUPPORTED macro unconditionally enabled
-Wno-... flags for gcc. Unfortunately, gcc _does_ emit a warning for the
unrecognized compiler option if another warning is emitted in the same
compilation unit. This is now fixed by always querying for the non-negated
version, i.e. -Wfoo instead of -Wno-foo.

Closes [Unfortunately, no github issue :-( Now, I can't close on the
command line :'-(]