meson/unittests
David Robillard 81d7c24a59 Add warning_level=everything
Adds a new maximum warning level that is roughly equivalent to "all warnings".
This adds a way to use `/Wall` with MSVC (without the previous broken warning),
`-Weverything` with clang, and almost all general warnings in GCC with
strictness roughly equivalent to clang's `-Weverything`.

The GCC case must be implemented by meson since GCC doesn't provide a similar
option.  To avoid maintenance headaches for meson, this warning level is
defined objectively: all warnings are included except those that require
specific values or are specific to particular language revisions.  This warning
level is mainly intended for new code, and it is expected (nearly guaranteed)
that projects will need to add some suppressions to build cleanly with it.

More commonly, it's just a handy way to occasionally take a look at what
warnings are present with some compiler, in case anything interesting shows up
you might want to enable in general.

Since the warnings enabled at this level are inherently unstable with respect
to compiler versions, it is intended for use by developers and not to be set as
the default.
2022-11-27 16:50:48 -05:00
..
allplatformstests.py Add warning_level=everything 2022-11-27 16:50:48 -05:00
baseplatformtests.py unittests: add and use get_meson_log_raw function 2022-11-22 22:53:07 -05:00
darwintests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
datatests.py docs: Add documentation on pkgconfig.relocatable 2022-04-19 17:35:08 -04:00
failuretests.py Reword message in warning 2022-05-19 07:18:43 -04:00
helpers.py unittests: Fix rpath tests no nixos 2022-03-22 15:15:29 +02:00
internaltests.py Compilers: Keep ccache and exelist separated 2022-10-25 17:24:56 -04:00
linuxcrosstests.py Condense test directory names. 2022-03-29 02:12:02 +03:00
linuxliketests.py unittests: add and use get_meson_log_raw function 2022-11-22 22:53:07 -05:00
machinefiletests.py Condense test directory names. 2022-03-29 02:12:02 +03:00
platformagnostictests.py unittests: add and use get_meson_log_raw function 2022-11-22 22:53:07 -05:00
pythontests.py Add regression test for Python dist. 2022-04-13 21:27:22 +03:00
rewritetests.py unittests: Fix warning about distutils deprecation 2022-01-30 02:13:42 +05:30
subprojectscommandtests.py tests: when generating git repositories, make sure that pgpsign is off 2021-09-03 14:14:15 -04:00
taptests.py mtest: ignore invalid input 2022-05-24 20:15:34 +03:00
windowstests.py compilers: don't use instance checks to determine properties 2022-09-19 15:18:59 -04:00