has anyone else out there tried compiling the code from the new book,
"Advanced Palm Programming" under PRCTools/gcc?

Specifically, I'm trying to compile the code from chapter 4 and I keep
getting the following errors:

Compiling USER.C...
USER.C: In function `Char * UserRecordToText_mpoi(void *)':
USER.C:38: ANSI C++ forbids implicit conversion from `void *' in assignment
USER.C: In function `Char * UserRecordToText_text(void *)':
USER.C:71: ANSI C++ forbids implicit conversion from `void *' in assignment
USER.C: In function `Char * UserRecordToText_noType(void *)':
USER.C:102: ANSI C++ forbids implicit conversion from `void *' in assignment
USER.C: In function `Char * UserRecordToText(long unsigned int, void *)':
USER.C:147: ANSI C++ forbids implicit conversion from `void *' in assignment

why is gcc generating ANSI C++ errors when I'm compiling C code?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to