DavidKinder / Git

Fast Glulx interpreter, originally written by Iain Merrick.
MIT License
46 stars 13 forks source link

Compile error on OS X #7

Closed vickio closed 8 years ago

vickio commented 8 years ago

Compiling with clang 7.3.0 on Mac OS X 10.11.6 I get this error:

:76:/usr/include/assert.h5: :/usr/include/assert.h66: 76:error: 66::use of undeclared identifier '__noreturn__' 76:66: error : use of undeclared identifier '__noreturn__'

I'm able to resolve it by setting defining git_noreturn as __dead2 in config.h, but I don't really understand what's happening or why that works.

vickio commented 8 years ago

Sorry, didn't notice this was already fixed by #5.