bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Amend AC_CHECK_HEADER_STDBOOL for C++11 and modern dialects


From: Paul Eggert
Subject: Re: [PATCH] Amend AC_CHECK_HEADER_STDBOOL for C++11 and modern dialects
Date: Thu, 2 Jun 2016 15:01:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

On 06/02/2016 02:26 PM, David Seifert wrote:
We could relax the whole thing a bit, and maybe just make a plain
__cplusplus check, without a version number. This keeps the C side as
it always has been, but allows C++'s proper literals to kick in.

In addition, _Bool is also a major obstacle, as it does not exist in
C++ (and does so only for GCC due to some GNUisms in libstdc++ with
-std=c++98). Would you consider moving away from _Bool and replacing
all uses of it with bool? After all, <stdbool.h> by itself only
mandates the existence of bool/true/false.

Sure, that all sounds fine (in C++ only of course).




reply via email to

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