> 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"
Yes, I had this same problem 30 mins ago :)
Turns out that Pilot.h does not have include guards and barfs if it included
more than once...
Fix it by creating your own include file eg.
GuardedPilot.h:
#ifndef _H_GUARDED_PILOT
#define _H_GUARDED_PILOT
#include "Pilot.h"
#endif
and use
#include "GuardedPilot.h"
instead of
#include "Pilot.h"
Cheers and good luck!
Trent.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html