Date: Mon, 11 Aug 1997 12:02:32 -0400 (EDT) From: "Art S. Kagel" To: Lyle Cc: djgpp AT delorie DOT com Subject: Re: Parse Error Before '*' In-Reply-To: <33EC081E.F3E7C86C@NO_SPAMccds.cc.monash.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 9 Aug 1997, Lyle wrote: > Hi, > > I have recently downloaded all of the DJGPP files listed in the readme > file, so to be able to compile C/C++ code. I have installed it as > stated, setting environment variables etc. I then created a project > which i had in Borland Turbo C++ V3.0. When i compile in BTC++ i get no > warnings, no errors. Now i try compile and i am getting a "parser error > before '*'" in a lot of my header files (then of course nothing > compiles). I am to a lost as what i am doing wrong? I have read the FAQ > and only found an extract saying " C++ comments not supported in C" My > code is only C, not C++. Has anyone every experienced this problem and > could advice me on how to rectify the situation. > But do you use C++ style end-of-line comments (ie starting with '//')? Borland supports this in C source GCC does not. Art S. Kagel, kagel AT bloomberg DOT com