It should just work, but it doesn't, my question is what should be done to add support for the magick...
Have to do some major work in the CBP to add PCH for clang.
http://clang.llvm.org/docs/UsersManual.html#precompiled-headersI am thinking "Relocatable PCH Files" will require less changes to the CB cbp and source files.
But, I am thinking the "-include" will be easier to maintain if the CB Dev team decides to change the GCC Compiler to use the same method.
The "-include" method requires all the including of the sdk.h in source files to be removed (or guards added); at least it does on Windows using MinGW GCC.
Example of what is meant by guards.
Index: src/src/examinememorydlg.cpp
===================================================================
--- src/src/examinememorydlg.cpp (revision 9742)
+++ src/src/examinememorydlg.cpp (working copy)
@@ -7,7 +7,9 @@
* $HeadURL$
*/
-#include "sdk.h"
+#ifndef SDK_H
+ #include <sdk.h>
+#endif
#ifndef CB_PRECOMP
#include <wx/button.h>
Tim S.