[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with stdbool.h redefining true/false even in C++
From: |
Paul Eggert |
Subject: |
Re: Problem with stdbool.h redefining true/false even in C++ |
Date: |
Wed, 29 Aug 2012 09:52:29 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/29/2012 08:44 AM, Michael Goffioul wrote:
> AFAIK "bool" is a standard C++ type, there's no need to redefine it.
The idea was that gnulib should produce a GNU-like environment
in other platforms, and on GNU platforms this:
#include <stdbool.h>
#ifdef bool
return "bool is defined";
#endif
returns "bool is defined" on GNU platforms, even when
compiled using g++.
If this was a mistake we can fix it of course. Like I said,
I'm no C++ expert.
- Re: Problem with stdbool.h redefining true/false even in C++, (continued)
- Re: Problem with stdbool.h redefining true/false even in C++, John W. Eaton, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Paul Eggert, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Michael Goffioul, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Paul Eggert, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Michael Goffioul, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Paul Eggert, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, John W. Eaton, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Bastien ROUCARIES, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, John W. Eaton, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++, Daniel J Sebald, 2012/08/29
- Re: Problem with stdbool.h redefining true/false even in C++,
Paul Eggert <=