delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/11/13:49:36

From: daniel_carlsson AT mbox306 DOT swipnet DOT se (Daniel Carlsson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Parse Error Before '*'
Date: Mon, 11 Aug 1997 16:38:19 GMT
Organization: -
Lines: 39
Message-ID: <33ef30f7.4185519@nntpserver.swip.net>
References: <33EC081E DOT F3E7C86C AT NO_SPAMccds DOT cc DOT monash DOT edu>
NNTP-Posting-Host: dialup168-2-13.swipnet.se
NNTP-Posting-User: s-306915
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sat, 09 Aug 1997 16:03:10 +1000, Lyle
<lpak1 AT NO_SPAMccds DOT cc DOT monash DOT edu> 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. 
>
>Yours thankfully,
>Lyle 
>-- 
>NOTE: Remove The comment "NO_SPAM" To Reply via Email!
>
>-------------------------------[ **NEW ADDRESS**
>lpak1 AT ccds DOT cc DOT monash DOT edu DOT au]
>" Hello Chevra Kadish, You Kill 'em, We Chill 'em "            .----,
>						               | oO |
>	HTTP://www-personal.monash.edu.au/~lpak1/              | \/ |
>		                                               `----'

Hi I had the same problem with my old BTC3.0 codes.
The problem was that I was using far pointers (DJGPP doesn't
understand the far keyword.) 
If this is your case then you'll have to redo your far memory
allocations (or perhapps only remove the far keywords)

Good Luck!
http://home5.swipnet.se/~w-53988/
By the way. My email address doesn't have any
underlines in it. Only dot's...
Go figure ;)

- Raw text -


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