On Mon, 26 Jul 2004 07:17:34 -0000, BrownB <[EMAIL PROTECTED]> wrote: > I include "BitmapRsrc.h" in the obj that needs of that type, but I can't compile > BitmapRsrc.c to BitmapRsrc.o, there are many errors inside BitmapRsrc.c, which first > of all is: > BitmapRsrc.c:72: parse error before '*' > BitmapRsrc.c: In function `VerifyBitmap': > BitmapRsrc.c:77: `bmp' undeclared (first use in this function)
It would be good if you posted the code around the line 72. But in general those warning mean that you forgot to #include a .h file with necessary type definitions. Line 72 is probably saying sth. like: MyPtrType *myPtr; MyPtrType is a typedef defined in some .h file but since it's not included compiler doesn't understand it so it'll generate an error like that. See what type is used at line 72 and then grep all the palm os headers for that to see which .h file defines it. Then include this file. Krzysztof Kowalczyk | http://blog.kowalczyk.info -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
