Skip to content

error: explicit comparison with infinity in fast floating point mode [-Werror,-Wtautological-constant-compare] #13

@TApplencourt

Description

@TApplencourt

When building the repo with icpx the test_case/test_case_statistics.cpp compile fail with

 error: explicit comparison with infinity in fast floating point mode [-Werror,-Wtautological-constant-compare]

Possible solution:

  • Disable tautological-constant-compare
  • Set -00 flags globally
  • Disable fast-math for the particulars files

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