>Date: 21 May 1999 17:22:32 -0700
>From: Ivan Shiyan <[EMAIL PROTECTED]>
>Subject: "illegal use of precompiled header"
>
>This error occurs in different PalmOS header files.
>What should I tune in CW to get rid of it?
>
>Please help...
>Ivan

Yuck.  Without more specifics, I can only recommend the following:

You can turn off usage of precompiled headers alltogether.  Put a file in
your source directory called "BuildRules.h" or somesuch.  Put in that file
the following:

#ifndef PILOT_PRECOMPILED_HEADERS_OFF
        #define PILOT_PRECOMPILED_HEADERS_OFF
#endif

Stick this file in your project settings' Language Settings : C/C++ Language
: Prefix File field.  That will make the stuff in BuildRules.h preceed
everything else.  Do a 'Remove Object Code'!!!  Then, rebuild.  Hopefully
you'll be ok.  If not, you have just entered ... header file HELL.

-Jeff Ishaq
The Windward Group

Reply via email to