Mail Archives: djgpp/1995/07/17/10:55:05
I went to compile the source for an equation-graphing program (math and
graphics intensive) and got a really strange pair of compile-time error
messages:
c:\tmp/cc000091:1: parse error before `.'
c:\tmp/cc000091:917: malformatted character constant
I've never seen it reference a tmp file before...
I checked my code. Line 1 says
#include <graphics.h>
There's nothing wrong with the '.'
There is no line 917; the code is only 270 or so lines.
Obviously, the line numbers here bear no relation to the source lines...
As for the other error, I have no character constants... nor can there be
a typo making there seem to be one: I searched the code for the apostrophe
character and there are none!
All the required libraries were included in the command line; I checked
that all the needed #includes are there; and yes, I have a coprocessor.
So what gives? Is there some way to glean meaningful information from
these messages? Or has my compiler itself got a serious bug?
Please respond by e-mail...
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." ,------------------------------------------------
-- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
- Raw text -