Hi, On Tue, 21 Oct 2008 19:59:52 +0900, Jeremy O'Donoghue <[EMAIL PROTECTED]> wrote: > Attached is a set of patches to enable XRC support in wxHaskell Darcs > head, along with a couple of samples (in the samples/test/XRCControls > directory) showing how to use the new functionality. They have only > really been tested on Windows, so it would help if people can look for > bugs on other platforms.
I got error when building wxc with xrc.patch on Mac OS X platform. g++ -c wxc/src/eljrc.cpp -o dist/wxc/eljrc.o -MD -DwxcREFUSE_MEDIACTRL -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -DwxUSE_STC=1 -DwxUSE_SVG=1 -fPIC -Iwxc/include wxc/src/eljrc.cpp:437:1: error: pasting "wxSizer" and "*" does not give a valid preprocessing token wxc/src/eljrc.cpp:437:1: error: pasting "wxSizer" and "*" does not give a valid preprocessing token wxc/src/eljrc.cpp:438:1: error: pasting "wxBoxSizer" and "*" does not give a valid preprocessing token (snip) make: *** [dist/wxc/eljrc.o] Error 1 Build Failed. It seems that BUILD_XRCGETCTRL_FN macro causes problem. Does anyone knows how to solve this problem? My Mac's gcc version is 4.0.1. shelarcy$ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5484) Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel