Skip to content

Compile with warnings as errors in build workflows #85

Open
@pcolberg

Description

@pcolberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions