Open
Description
Enable -Werror
in build workflows to turn warnings into errors and ensure that no new warnings are introduced in pull requests. This setting should only be used in CI, since it otherwise causes build failures when new compiler versions introduce new warnings.
For now only enable this for GCC on Linux, since MSVC on Windows outputs significantly more warnings, e.g., about the use of standard C library functions with suggestions to use nonstandard, nonportable replacements.