bug-gnulib
[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: John W. Eaton
Subject: Re: Problem with stdbool.h redefining true/false even in C++
Date: Wed, 29 Aug 2012 13:00:49 -0400

On 29-Aug-2012, Michael Goffioul wrote:

| On Wed, Aug 29, 2012 at 4:44 PM, Michael Goffioul <address@hidden>
| wrote:
| 
|     Thanks, that should indeed redefining true and false...
| 
| 
| I meant: that should indeed avoid redefining true and false...

Why define true, false, and bool to anything when using C++?  Couldn't
those definitions be omitted?

Is it necessary to define _Bool if using C++?

Michael, how is stdbool.h being included in Octave C++ sources?  Maybe
that's a mistake that should be fixed.

jwe



reply via email to

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