From: Jeremy W. <jez...@ho...> - 2005-12-05 10:45:45
|
>At first glance these errors look like C++ vs. C syntax problems. I >haven't looked at the scintilla code, but it would be my guess that the XS >files is being compiled as C (this is the standard Makefile.PL behaviour) >whereas Win32::GUI (for reasons that escape me) is built using a C++ >compiler (see the override in Win32::GUI's Makefile.PL (sub xs_c) that >builds .cpp files from the XS rather than .c files). ARH! Yes, you are right. I've always wondered why win32-gui used a C++ compiler, as there is no C++ code. >I thin that (2) if preferable, and it is one of my longer-term goals to get >Win32::GUI to use standard 'C' too. I changed GUI.h (and GUI_MessageLoops.cpp) to be "C" safe. Cheers, jez. |