[Gtkradiant] Fwd: OSX Compile Errors

namespace spam at codecreator.net
Sat Dec 9 14:51:50 CST 2006


Hi

The brushplugin isn't perfect, but it compiles fine on gcc 3, VC and gcc 4.1.x
so I guess its the compiler which is the problem here.

He should update to a more recent version of gcc. At least to 4.1.0.

namespace

Am Samstag, 9. Dezember 2006 12:55 schrieb SmallPileofGibs:
> 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.
> 
> 
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at zerowing.idsoftware.com
> http://zerowing.idsoftware.com/cgi-bin/mailman/listinfo/gtkradiant
> 

-- 
Home: www.codecreator.net |
GPG: http://www.codecreator.net/gpg-public.asc | 0xD4BD516D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://zerowing.idsoftware.com/pipermail/gtkradiant/attachments/20061209/82d3e2ca/attachment.pgp


More information about the Gtkradiant mailing list