Mail Archives: djgpp/1997/08/14/01:33:08
Yep. A parse error before * is usually a typedef not recognized, or else
a typo.
Four possibilities come to mind:
1. The compiler it was ported from allowed bool in regular C, whereas DJGPP
only has bool in C++. (This doesn't seem likely but there are some weird
compilers out there!)
2. The compiler typedef'd unsigned int uint, or unsigned short ushort, or
one of those, automatically. GCC does not.
3. You forgot a #include.
4. The other compiler had a typedef in a header that GCC has in a
different header. This is unlikely in an ansi standard header, but
DOS-specific headers might do this.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -