delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/11/12:04:19

Date: Mon, 11 Aug 1997 12:02:32 -0400 (EDT)
From: "Art S. Kagel" <kagel AT ns1 DOT bloomberg DOT com>
To: Lyle <lpak1 AT ccds DOT cc DOT monash DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: Parse Error Before '*'
In-Reply-To: <33EC081E.F3E7C86C@NO_SPAMccds.cc.monash.edu>
Message-Id: <Pine.D-G.3.91.970811115351.3813D-100000@dg1>
Mime-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019