Skip to content

GCC_VERSION used in spirv_reflect.h but is undefined #336

Description

@NBT22

According to GCC's documentation the macro GCC_VERSION is not predefined, but rather can be defined as #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) in order to compare the GCC version against a single integer constant. The spirv_reflect.h header uses this macro, but fails to define it causing it to be evaluated as zero and the #if it is used for to always be false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions