octave-maintainers
[Top][All Lists]
Advanced

[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 10:13:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

On 08/29/2012 10:00 AM, John W. Eaton wrote:
> Why define true, false, and bool to anything when using C++?

Maybe it's for '#ifdef bool' but to be honest I'm just doing what
GCC does.  Perhaps you can ask the GCC developers why they do did
it that way....

Anyway, I'd be surprised if Octave cares whether true, false, and bool
are macros.  If it does, then it's broken on GNUish hosts anyway,
right?  And if it doesn't, the gnulib patch should work as-is.


reply via email to

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