Skip to content

-Wsign-conversion is redundant #76

@benjamin051000

Description

@benjamin051000

-Wsign-conversion # warn on sign conversions

According to Clang diagnostics (https://clang.llvm.org/docs/DiagnosticsReference.html#wconversion), -Wconversion controls -Wsign-conversion. This is the same as GCC (https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-conversion), although this only applies to the ${CLANG_WARNINGS} section.

I haven't tried removing -Wsign-conversion and seeing if it still catches it, but perhaps someone else can to verify this behavior. Per the spec, it should be a redundant flag.

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