Issue with Precompiled headers
Amit
amitgupta.it at gmail.com
Fri Sep 8 01:28:16 PDT 2006
Hello,
I need to include both wx_cwc_d.h and
MacHeadersMach-O.h in my precompiled header file.
My PCH file looks something like this
#include "wx/wx_cwc_d.h"
#ifdef __MWERKS__
#define TARGET_API_MAC_OSX 1
#include <MSL MacHeadersMach-O.h>
#define DEBUGLOG 1
#endif // ifdef __MWERKS__
On compiling my application using the above pch file I get the
following errors.
Error : illegal use of precompiled header
MSL MacHeadersMach-O.h line 12 #include <MSLMacHeadersMacOSX++>
If I toggle the order of include file I get the following error
Error : illegal use of precompiled header
wx_cwc_d.h line 24 #include "wx_Mach++_d.mch"
Is it possible to include both wx & MSL precompiled headers in one
single pch.
Thanks in advance
Regards
-Amit
More information about the wx-users
mailing list