bug-gnulib
[Top][All Lists]
Advanced

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

Re: AC_C_NORETURN macro?


From: Vincent Lefevre
Subject: Re: AC_C_NORETURN macro?
Date: Wed, 2 May 2012 02:04:36 +0200
User-agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20)

On 2012-04-29 09:56:03 -0700, Paul Eggert wrote:
> On 04/29/2012 08:34 AM, Vincent Lefevre wrote:
> >I don't like the fact that you assume by default that compilers
> >are non-conforming
> 
> Nor do I.  How about the following improvement to the heuristic?
> It is just a heuristic so we can't do a perfect job, but the
> following should be better than what we have now:
[...]

Yes, this is better, IMHO. The main problem is that partial C11
implementations that support _Noreturn but not other mandatory
C11 features may not have __STDC_VERSION__ defined to 201112.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



reply via email to

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