gb icon indicating copy to clipboard operation
gb copied to clipboard

Clang compiler detected as gcc

Open moon-chilled opened this issue 6 years ago • 0 comments

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.

moon-chilled avatar May 02 '19 22:05 moon-chilled