Skip to content

MIN/MAX macros are broken #211

@henrygab

Description

@henrygab

The MIN and MAX macros are written using C++ features.
C11 does not support references.
C11 does not support the typeof operator.
However, they are not in the C++-only portion of the header.

Code fails to build when using these macros from C11.

Fixed by #210.

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