bug-gnulib
[Top][All Lists]
Advanced

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

Re: clang and _Noreturn


From: Paul Eggert
Subject: Re: clang and _Noreturn
Date: Sun, 23 Apr 2017 16:35:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 04/23/2017 01:58 PM, Bruno Haible wrote:
the only position that works for both C and C++ is the first one:
   _GL_NORETURN_FUNC extern void foo (void);

Maybe a shorter name for this usage: _GL_NORETURN, perhaps?

Don't some compilers complain if the storage class ('extern', here) is not first? If so, I suppose we could work around that problem by omitting the 'extern'. As I vaguely recall, the 'extern' is there only for less-important reasons.




reply via email to

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