Skip to content

Compile error with GCC 11.1 on current master branch #216

@foutrelis

Description

@foutrelis

The error seems self-explanatory (appears to have been introduced by 958e92b):

IGC/VectorCompiler/lib/GenXCodeGen/GenXDebugInfo.cpp:708:25:
error: ordered comparison of pointer with integer zero (‘void*’ and ‘int’)
  708 |   if (GenDbgInfoDataPtr <= 0) {
      |       ~~~~~~~~~~~~~~~~~~^~~~

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