bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 01/19] * m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn.


From: Paul Eggert
Subject: Re: [PATCH 01/19] * m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn.
Date: Mon, 11 Jul 2011 16:32:52 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11

On 07/11/11 16:27, Bruno Haible wrote:

> Huh? 'bool' is usable the same way in C and C++, with only minor semantic
> differences.

I was thinking that in C, one must "#include <stdbool.h>" first.
But we are digressing...

> I would prefer if these files could use '_Noreturn' as well, for consistency,

OK, thanks, I'll do it that way.  Your other comments lead me to think
that we should avoid having a stdnoreturn module, at least for now, to
avoid the issues with [[noreturn]] versus noreturn.  That is, we
use _Noreturn everywhere, as _Noreturn seems to be more stable
and there's no need for noreturn.

I'll write up a revised patch along those lines shortly.



reply via email to

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