I thought this was interesting. My other reply to this got bounced by the
server for having too many indented quotations in it. I went to look and it
appears to be the endless waves of crap that the server keeps appending :)


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.
>
> -E
>
> > -----Original Message-----
> > From: Paul Johnson [mailto:[EMAIL PROTECTED]
> > Sent: Monday, August 04, 2003 9:13 AM
> > To: Palm Developer Forum
> > Subject: Re: Link Errors
> >
> >
> > I knew I shoulda waited before posting this on account of
> > "dumbass error: patient heal thy self"
> >
> > The master include file that other platforms include didn't
> > have the extern "C" crap around it. I have to build my
> > vanilla C project as CPP due to some iffy code in expat - an
> > xml parser I use. So, it was user error due to name-mangling,
> > but I'm boring you to death with it in case it helps anyone
> > in the future.
> >
> > I'm sure the linker could've helped me out with this though.
> > Hey ho......
> >
> >
> > Regards,
> > Paul Johnson
> > Applewood House
> > www.applewoodhouse.com



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

Reply via email to