Skip to content

CI Workflow does not use warnings as errors on Linux GCC #69

@DAflamingFOX

Description

@DAflamingFOX

The Linux GCC platform in CI does not treat compiler warnings as errors.

see here for an example of this issue; Windows, Linux clang, and MacOS all threw an error on the same narrowing warning but Linux GCC did not.

CMake has a property to enable this feature:
set_property(TARGET my_target PROPERTY COMPILE_WARNING_AS_ERROR ON)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions