Revert "Keep cmake gcc builds in sync with autotools warnings."
authorSimon McVittie <smcv@debian.org>
Sat, 1 Oct 2016 14:06:27 +0000 (15:06 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 13 Oct 2016 16:20:40 +0000 (17:20 +0100)
commit748689933112e43cad710654849d77864f9471d6
treea140c04c94aa5539b1043149e60a254c45efccc8
parentb6caf69d469a4dae8bed2092cc5e32d25192ecf4
Revert "Keep cmake gcc builds in sync with autotools warnings."

When reviewing this commit, I said

    Looks OK, although this is going to become impossible if we start
    using the externally-curated list of warnings from
    <https://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html>,
    which I've been quite tempted to do.

That time has now come. I think it's more valuable to have comprehensive
warnings under our primary build system, Autotools, than to have
some fairly elaborate CMake scripting to pick up the same compiler
warnings in both build systems; the CMake build system is primarily
there to give us the ability to compile with MSVC, which has orthogonal
compiler warning options anyway.

This reverts commit 41427560af2c9923a48e50ddbf72e53aad5b2983.

Signed-off-by: Simon McVittie <smcv@debian.org>
Acked-by: Ralf Habacker <ralf.habacker@freenet.de>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97357
cmake/CMakeLists.txt
cmake/modules/MacrosAutotools.cmake