bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Joe Nelson
Subject: Re: _Noreturn.h not respecting __STDC_VERSION__ (macOS, clang 10)
Date: Sat, 9 Jan 2021 22:23:00 -0600

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 such a pain sometimes, as can Clang. Thanks for reporting
> the problem, I guess. I installed the attached patch; please give it a try.

Thanks, Paul! Your patch worked properly on my machine.

I didn't try the m4 change in any way; tested only the changed
lib/_Noreturn.h



reply via email to

[Prev in Thread] Current Thread [Next in Thread]