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.
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
inconfig.h
, but I don't really understand what's happening or why that works.