Re: _Noreturn.h not respecting __STDC_VERSION__ (macOS, clang 10)

2021-01-09 Thread Joe Nelson
Paul Eggert wrote: > On 1/8/21 8:31 PM, Joe Nelson wrote: > > Hi, my project uses lib/_Noreturn.h, but gets a warning when compiled > > with "-std=c99 -pedantic": > > > > warning: _Noreturn functions are a C11-specific feature > > -pedantic can be

_Noreturn.h not respecting __STDC_VERSION__ (macOS, clang 10)

2021-01-09 Thread Joe Nelson
Hi, my project uses lib/_Noreturn.h, but gets a warning when compiled with "-std=c99 -pedantic": warning: _Noreturn functions are a C11-specific feature By placing an #error directive in the code below during testing, I confirmed the preprocessor is incorrectly hitting the condition marke