Han-Wen Nienhuys schrieb am Wednesday, den 05.07.2000, um 20:27 Uhr:
> [EMAIL PROTECTED] writes:
> > Hello,
> > I have done a small patch which adds support for kpathsea to lilypond.
> > Just have a look at it.
> 
> Is this supposed to compile? My compile breaks on the booleans in
> kpathsea/types.h 
> 
It compiles and works fine on my machine. In my kpathsea/types.h is a
comment and an ifdef about c++, see below. 
BTW, I'm using gcc 2.95.2.

[...]
/* Booleans.  */
#ifdef __cplusplus
/* `true' and `false' are reserved words in C++.  Sigh.  Although sizeof
   (bool) may not equal sizeof (boolean), so this isn't completely
   correct, we never rely on the size of the type.  */
#define boolean bool
#else
/* NeXT wants to define their own boolean type.  */
#ifndef HAVE_BOOLEAN
#define HAVE_BOOLEAN
typedef enum { false = 0, true = 1 } boolean;
#endif /* not HAVE_BOOLEAN */
#endif /* not C++ */
[...]

Greetings
Carsten

Reply via email to