Subject: Re: syntax error?
From: [email-masked] (Christoph P. Kukulies)

29 Oct 1996 07:20:48 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Original-To: [email-masked] (David Jeffers)
Original-Cc: [email-masked]
X-Mailer: Mutt 0.48.1
In-Reply-To: <[email-masked]>; from "David Jeffers" on Oct 28, 1996 17:30:41 -0800
Original-Sender: [email-masked]

David Jeffers writes:
> 
> Here's the file:
> 
> misc.h
> --------------------------------
> #ifndef misc_h
> #define misc_h
> 
> const int false = 0;
> const int true = 1;
> 
> #endif
> --------------------------------
> 
> Here's the error message:
> 
> $ in file included from buffer.h:24,
> $		   from buffer.cpp:25
> $ misc.h:18 syntax error before 'false'
> $ misc.h:19 syntax error before 'true'
> 
> 
> Can someone explain this error message or where the
> syntax error is?

true/false are reserved words in C++ .

> 
> -- 
> 
>     David Jeffers	    
> <[email-masked]>
> 
> -
> For help on using this list, send a message to
> "[email-masked]" with one line of text: "help".

-- 
--Chris Christoph P. U. Kukulies [email-masked]
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".