I worked around this problem with the following patch to 2.4.2:
--- include/wx/mac/private.h.orig Thu Nov 13 10:17:59 2003
+++ include/wx/mac/private.h Thu Nov 13 10:18:57 2003
@@ -204,5 +204,8 @@
} ;
#endif
+#undef FixedToInt
+#undef IntToFixed
+
#endif
// _WX_PRIVATE_H_
it compiled ok with this.
Simon
On Friday, October 31, 2003, at 12:10 pm, Andrzej Koszela wrote:
> Hello, I hope this is the right list for this sort of thing. I've been
> using wxMac (2.4.1, then 2.4.2) successfully on Jaguar (OS 10.2.6) for
> a while now, and today I noticed it didn't compile on Panther (OS
> 10.3). Since all the development macs now have Panther installed,
> there is no way for me to continue programming my project on them...
>
> The build fails here:
>
> c++ -c -I./lib/wx/include/mac-2.4 -I./include -I./src/png
> -I./src/jpeg -I./src/tiff -I/sw/include -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -no-cpp-precomp -fpascal-strings -I./src/mac/morefile
> -I/Developer/Headers/FlatCarbon -D__WXMAC__ -DWXMAKINGDLL -O2 -MMD
> -I/sw/include -fno-common -Wall -dynamic -fPIC -o dc.o > ./src/mac/dc.cpp
> src/mac/dc.cpp:1259: error: parse error before `<<' token
> src/mac/dc.cpp:1263: error: parse error before `short'
> make: *** [dc.o] Error 1
#ifdef out the IntToFixed() function in dc.app. This conflicts with a
macro in the headers in 10.3, and needs fixing in the source.
Simon