From: Eric Y. K. <Eri...@lo...> - 2005-11-09 11:27:57
|
Oh yeah,=20 I had that problem too and silently suppressed it in my -05 patch. The basic problem is that wxColour::GetPixel behaves differently on different platforms. I've found that editing the file wxc/src/ewxw/eljcolour.cpp and commenting out altogether the wxColour_GetPixel function helps. On Wed, Nov 09, 2005 at 10:59:29 +0000, Wouter Swierstra wrote: > g++ -c wxc/src/ewxw/eljcolour.cpp -o out/wxc/ewxw/eljcolour.o -MD -I/=20 > usr/local/lib/wx/include/mac-ansi-release-static-2.6 -I/usr/local/=20 > include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES -=20 > DNO_GCC_PRAGMA -Iwxc/include > wxc/src/ewxw/eljcolour.cpp: In function 'int wxColour_GetPixel(void*)': > wxc/src/ewxw/eljcolour.cpp:81: error: invalid conversion from 'const =20 > unsigned char*' to 'int' > wxc/src/ewxw/eljcolour.cpp: In function 'int wxColour_ValidName(void*)': > wxc/src/ewxw/eljcolour.cpp:96: warning: 'FindColour' is deprecated =20 > (declared at /usr/local/include/wx-2.6/wx/gdicmn.h:492) > make: *** [out/wxc/ewxw/eljcolour.o] Error 1 --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |