This is a FAQ - for Codewarrior you should go over your header files and
try to make sure you're not including files multiple times. For example,
if you have the following:
#include <Pilot.h>
#include <SysEventMgr.h>
in your code, you can remove the second include - Pilot.h will include
SysEventMgt.h.
What I usually do is only inlcude Pilot.h (plus my application-specific
include files) to see what's missing, then I go and look for the header(s)
that include the other stuff (of course, if you already know, then go ahead
and add them).
This is one thing that the GNU tools have right - the headers are protected
with #ifdef's to handle multiple inclusion
(hint! hint!).
At 06:04 PM 12/27/99 -0500, you wrote:
>I am attempting to create some classes for an aplication that I am
>developing.
> The classes themselves work fine when they are included in the same file as
>the rest of my code, but when I try to move them to a serperate file I get
>the
>following error:
>
>illeagle use of precompiled header
>SysEventMgr.h Line 189
>
>I anybody has any ideas on what I am doing wrong please let me know.
>Thanks,
>Kristopher Keller
>
>
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com