bug-gnulib
[Top][All Lists]
Advanced

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

Re: There is no returning


From: Ludovic Courtès
Subject: Re: There is no returning
Date: Sun, 17 Nov 2013 22:41:32 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Bruce Korb <address@hidden> skribis:

> On 11/17/13 13:18, Ludovic Courtès wrote:
>> What would you think of sticking to the standard and less problematic
>> ‘_Noreturn’ identifier in Gnulib?
>>
>> (I also agree that it’s better for Guile’s public headers to use
>> ‘__noreturn__’, but using ‘noreturn’ was not completely silly either.)
>
> "noreturn" is a C11 keyword

Well it’s a macro from <stdnoreturn.h>, but the keyword is _Noreturn.
As ugly as it may look, ‘_Noreturn’ was chose to avoid name clashes.

> When you #include <stdnoreturn.h>, that token should work as expected.
> gnulib makes that available.

Right, I had overlooked the standardization of <stdnoreturn.h>.
Sorry for the noise!

Ludo’.



reply via email to

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