[Gtkradiant] Fwd: OSX Compile Errors

SmallPileofGibs spog at spog.planetquake.gamespy.com
Sat Dec 9 06:55:24 CST 2006


This is a forwarded message
From: Vincent Morénas <vmorenas at free.fr>
To: SmallPileofGibs <spog at planetquake.com>
Date: Saturday, December 9, 2006, 11:40:47 AM

===8<==============Original message text===============
Hi,

I don't know if you're the right person to ask but I have started to  
look back again at GtkRadiant1.5 (svn revision number 123) and there  
is a compilation problem with the following message :

------------------------------------------------------------------------ 
------------------------------------------
g++ -pipe -DPOSIX -DXWINDOWS -W -Wall -Wcast-align -Wcast-qual -Wno- 
unused-parameter -Wno-non-virtual-dtor -Wreorder -g3 -D_DEBUG - 
force_cpusubtype_ALL -fPIC -fno-exceptions -fno-rtti `pkg-config  
glib-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` -fPIC -I/sw/include  
-I/usr/X11R6/include -Ibuild/debug/libs -Ilibs -Ibuild/debug/include - 
Iinclude -c -o build/debug/contrib/brushexport/plugin.os contrib/ 
brushexport/plugin.cpp
libs/stream/textfilestream.h: In function 'TextFileOutputStream&  
operator<<(TextFileOutputStream&, const T&) [with T = size_t]':
contrib/brushexport/plugin.cpp:77:   instantiated from here
libs/stream/textfilestream.h:83: error: call of overloaded  
'ostream_write(TextFileOutputStream&, const long unsigned int&)' is  
ambiguous
libs/stream/textstream.h:147: note: candidates are:  
TextOutputStreamType& ostream_write(TextOutputStreamType&, char)  
[with TextOutputStreamType = TextFileOutputStream]
libs/stream/textstream.h:156: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, double)  
[with TextOutputStreamType = TextFileOutputStream]
libs/stream/textstream.h:167: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, float)  
[with TextOutputStreamType = TextFileOutputStream]
libs/stream/textstream.h:175: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, int) [with  
TextOutputStreamType = TextFileOutputStream]
libs/stream/textstream.h:193: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, Unsigned)  
[with TextOutputStreamType = TextFileOutputStream]
libs/stream/textstream.h:247: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, const  
HexChar&) [with TextOutputStreamType = TextFileOutputStream]
libs/stream/textstream.h:342: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, const  
Decimal&) [with TextOutputStreamType = TextFileOutputStream]
libs/stream/stringstream.h: In function 'StringOutputStream&  
operator<<(StringOutputStream&, const T&) [with T = long unsigned int]':
contrib/brushexport/plugin.cpp:111:   instantiated from here
libs/stream/stringstream.h:173: error: call of overloaded  
'ostream_write(StringOutputStream&, const long unsigned int&)' is  
ambiguous
libs/stream/textstream.h:147: note: candidates are:  
TextOutputStreamType& ostream_write(TextOutputStreamType&, char)  
[with TextOutputStreamType = StringOutputStream]
libs/stream/textstream.h:156: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, double)  
[with TextOutputStreamType = StringOutputStream]
libs/stream/textstream.h:167: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, float)  
[with TextOutputStreamType = StringOutputStream]
libs/stream/textstream.h:175: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, int) [with  
TextOutputStreamType = StringOutputStream]
libs/stream/textstream.h:193: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, Unsigned)  
[with TextOutputStreamType = StringOutputStream]
libs/stream/textstream.h:247: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, const  
HexChar&) [with TextOutputStreamType = StringOutputStream]
libs/stream/textstream.h:342: note:                  
TextOutputStreamType& ostream_write(TextOutputStreamType&, const  
Decimal&) [with TextOutputStreamType = StringOutputStream]
scons: *** [build/debug/contrib/brushexport/plugin.os] Error 1
scons: building terminated because of errors.
------------------------------------------------------------------------ 
-------------------------

Compiler used :  gcc-4.0.1 from apple MacOSX 10.4.8

Can you help?

Thanks.




More information about the Gtkradiant mailing list