Skip to content

MSVC2015 - warning 6326 - Potential comparison of a constant with another constant. #263

Closed
@omascia

Description

@omascia

I think the linked picture says it all. I have a 6326 reported on line 1788 of format.h (2.0). On that line I see bool fm:internal::check(bool value) whose intent is to suppress bogus "conditional expression is constant". But it looks like "potential comparison of a constant with another constant" is emitted instead.
The attached partial print-screen shows the warning reported and the format.h line 1788 in context.
w6326

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