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