This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question/problem related to _Bool in type_traits.h


"Stephen M. Webb" <stephen@bregmasoft.com> writes:

| On Mon, 15 Oct 2001, Ira Ruben wrote:
| >
| > Does anyone have a suggested (permanent) fix for this problem.  For 
| > the time being I've added a #undef _Bool just before the template 
| > definition in type_traits.h.
| 
| Oh yeah, the dangers of using the C preprocessor.

The use of the name _Bool in tyupe_traits.h is just unfortunate. It is
a keyword in C99. 

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]