That is how I solved it!

Steve

gcw wrote:

> I apologize in advance if this is not useful for you.
>
> I found a workaround for my problem mixing C and C++ in the same code warrior palm 
>project.  I'm sure there is a better way, but
> here's what worked for me.
> I turned off precompiled pilot headers by inserting...
>
> #define PILOT_PRECOMPILED_HEADERS_OFF
>
> ..before the line...
>
> #include <Pilot.h>
>
> ...for each file that includes <Pilot.h>
>
> gcw wrote:
>
> > Has anyone had problems mixing C and C++ src files in a palm project in
> > CodeWarrior?  I'm getting
> > this error:
> >
> > Error   : illegal precompiled header version
> > Pilot.h line 34   #include "Pilot.h++.mch"
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palm.com/devzone/mailinglists.html
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palm.com/devzone/mailinglists.html


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to