Mail Archives: djgpp/1997/08/11/12:04:19
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 -