Mail Archives: djgpp/1997/08/18/13:19:55
john Latala wrote:
>
> ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) writes:
>
> >I'll even write it for you:
>
> >2678194.67287474.12 Q: Porting a program to DJGPP, I get a heckuva lot of
> > "parse error before '*'" messages. It compiles fine
> > in WhizC 7.9!
> > A: It's one of these:
> > 1. 'far' and 'near' pointers. Search-and-replace all
> > 'far *' and 'near *' to just '*'.
>
> Instead of going through all the source to replace far*/near* with * I think
> it would be better to use a header which defines 'far' and 'near' as nothing.
>
> That way they disappear but if you ever have to port the code back to an
> intel compiler you just remove the near/far redefinition ...
> --
> john DOT Latala AT Waterloo DOT NCR DOT COM
>
> SYSTEM-E-ARMAGEDDON, WORLD quanta expired. System being shutdown.
> SYSTEM-I-ARMAGEDDON, Have a nice day.
Hi,
Thats a really cool soloution!
thanks...
--
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/ | \/ |
`----'
- Raw text -