Edward Ye <[EMAIL PROTECTED]> wrote in message news:34407@palm-dev-forum...
>
> Hi,All.
> I am making a C++ project with CodeWarrior 4.01.
> I am encountered with a compile error:
> illegal use of precompiled header
> SysEvtMgr.h line 159
> The following is code segment of SysEvtMgr.h

Frankly, pre-compiled headers in CodeWarrior have given me nothing but
trouble. The best thing to do is just turn it off. Create a text file called
build.h in your Src directory which contains:

// build.h   -- build rules
#ifndef PILOT_PRECOMPILED_HEADERS_OFF
#define PILOT_PRECOMPILED_HEADERS_OFF
#endif

Then in your Project Settings, go to the "C++ Language" page, and enter
"build.h" under the prefix file line.




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

Reply via email to