From: John L. <jla...@gm...> - 2006-06-08 03:04:34
|
On 6/7/06, klaas.holwerda <kla...@nl...> wrote: > Your idea to add precompiled headers like this does not work. Also > othere changed you said you made, made no difference. > > hook_cpp_binding_header_includes = "#include > \"general/include/a2dprec.h\"\n..#include \"wxbind/include/wxbind.h\"\n" > > I think the only thing that will be correct is to place the next at as > the first include file in *.cpp generated. > This is what the comment says, and how it worked before. As I said, just reverting the change will break compilation on X Windows systems since the X windows headers very selfishly #define "Above" and "Below" to be numbers and you have to #undef them *after* including them. I've changed it so that there are now two ways to add code to the cpp files. Try using "hook_cpp_binding_includes" again as it is the first thing after wx/wxprec.h. hook_cpp_binding_includes hook_cpp_binding_post_includes Regards, John Labenski |