Skip to content

Clang compiler detected as gcc #41

@moon-chilled

Description

@moon-chilled

At https://github.com/gingerBill/gb/blob/master/gb.h#L207, there is a check for if GNUC is defined, and if so the compiler is marked as gcc. However, clang also defines the GNUC macro and so is detected as being gcc; to fix this, put the clang check first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions