Yup, all sorted now thanks :)

Forcing C++ on everything brought up a whole army of lax castings etc, but
once they were addressed I got as far as my other question I just posted.
When I can fix that I can then spend another 6 months trying to make all
this code actually work :S

Thx for your help :)


Regards,
Paul Johnson
Applewood House
www.applewoodhouse.com


----- Original Message ----- 
From: "Eric Cloninger" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 3:35 PM
Subject: RE: Link Errors


> Paul,
> 
> This is as good a place as any because the interested parties are
> subscribed.  Since Ben is probably sleeping off the effects of an
> all-night Freebirds veggie burrito bender, I'll step in.
> 
> CodeWarrior uses its' C compiler for files that end with a .c extension
> and the C++ compiler for files that end with .cpp (among others).  If
> you have files with both extensions and you want to force all files to
> go through the C++ compiler and use C++ name mangling rules, go to the
> preference panel for the C++ compiler and turn on "Force C++
> compilation".  Otherwise, you will need to force C name mangling using
> 'extern "C"' on your C prototypes.



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

Reply via email to