Date: Thu, 20 Jan 94 09:22:21 -1000 From: jthomas AT uhhacb DOT uhh DOT hawaii DOT edu (Jim Thomas) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: preprocessor cryptics Pieter> I would like to post a hint for DJGPP users in case they encounter Pieter> a compilation error of the kind (see the test program below for details): Pieter> c:/tmp/cc016065:1: parse error before `.' Pieter> c:/tmp/cc016065:305: malformatted character constant .... Pieter> I don't know if this behaviour is specific for the DOS version of gcc Pieter> since I only have an older version of gcc running on our HP-UX machine. Pieter> I suspect however that this behaviour has shown up since the latest Pieter> versions of gcc. Needless to say I prefer the more versatile message Pieter> of gcc version 2.4.5. .... The old error message shows up under gcc 2.5.7 on an old uVAX with Ultrix. I used to get error messages like that with version 1.07 of go32 + whatever gcc it had (it may have been 1.08?). But the next version solved those problems so I assumed they had been fixed. Sometimes there was a legitimate error (usually a C error rather than a preprocessor error, though), but often the same file compiled fine on a Sun with gcc 2.?. So there at least was some difference specific to dgjpp.