I spoke to Jay offline about this, but thought I'd follow up to the list as a whole for anyone reading Advanced Palm Programming while using the GCC toolchain. Jay pointed out that renaming the USER.C file to 'USER.c' (or anything else with a correct lower-case 'c') fixes the problem. Cheers, Ray Rischpater on 1/26/01 12:00 AM, Palm Developer Forum digest at [EMAIL PROTECTED] wrote: > 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 *)': ... > 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/
