From: jeffers@redrose.net (David Jeffers)
Subject: Re: syntax error?
29 Oct 1996 18:01:52 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199610300007.QAA27791.cygnus.gnu-win32@cygnus.com>
References: <199610290130.RAA15811@cygnus.com>
	<199610291255.NAA23357@gilberto.physik.rwth-aachen.de>
Original-To: gnu-win32@cygnus.com
In-Reply-To: <199610291255.NAA23357@gilberto.physik.rwth-aachen.de>
Original-Sender: owner-gnu-win32@cygnus.com

>>>>> "Christoph" == Christoph P Kukulies <kuku@gilberto.physik.rwth-aachen.de> writes:

    Christoph> 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?

    Christoph> true/false are reserved words in C++ .

    My thanks to all the replies which solved the problem.
    This code is part of a pascal compiler written in C++
    using MSCV code and make files, which is proving very
    difficult to port to GCC. Thanks again everyone!

    David Jeffers	    
<jeffers@redrose.net>

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
