autoconf
[Top][All Lists]
Advanced

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

Re: AC_C_NORETURN macro?


From: Paul Eggert
Subject: Re: AC_C_NORETURN macro?
Date: Sat, 28 Apr 2012 16:02:20 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120411 Thunderbird/11.0.1

My experience with this in Gnulib is that
<stdnoreturn.h> is dubious due to its
problems with MSVC.  But perhaps Autoconf
could #define _Noreturn in <config.h>,
for compilers that do not already support it.

Gnulib already does this, but in a way that
is not Autoconfish, and it might make sense to
try to do it in a more Autoconfish way.  However,
I don't know how this would address the problem
of library headers using _Noreturn that are
intended to be used by other compilers (which I
recall is why Gnulib does it in the strange way
that it does).



reply via email to

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