[Gtkradiant] [Bug 1061] GtkRadiant does not build with gcc 4.0

bugzilla-daemon at zerowing.idsoftware.com bugzilla-daemon at zerowing.idsoftware.com
Sun Jun 5 12:01:19 CDT 2005


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=1061





------- Additional Comments From david_costanzo at yahoo.com  2005-06-05 12:01 -------
I updated to the lastest svn snapshot (5155) and there are still (at least) two
problems.  First, SContsruct still requires gcc version 3.x, instead of 3.x or
greater.  Second, I get a build break on
build/debug/plugins/entity/eclassmodel.os.  The error messages from gcc follow.


g++ -pipe -DQ_NO_STLPORT -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter
-Wno-non-virtual-dtor -Wreorder -g -D_DEBUG `pkg-config glib-2.0 --cflags`
`xml2-config --cflags` `libpng-config --cflags` -fPIC -Ibuild/debug/libs -Ilibs
-Ibuild/debug/include -Iinclude -c -o build/debug/plugins/entity/eclassmodel.os
plugins/entity/eclassmodel.cpp
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_iterator_base_types.h:
In instantiation of ‘std::iterator_traits<TraversableObserverEraseOutputIterator>’:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algobase.h:310:
  instantiated from ‘_OI std::__copy_aux(_II, _II, _OI) [with _II =
NodeReference*, _OI = TraversableObserverEraseOutputIterator]’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algobase.h:335:
  instantiated from ‘static _OI std::__copy_normal<true, false>::copy_n(_II,
_II, _OI) [with _II = __gnu_cxx::__normal_iterator<NodeReference*,
std::vector<NodeReference, std::allocator<NodeReference> > >, _OI =
TraversableObserverEraseOutputIterator]’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algobase.h:387:
  instantiated from ‘_OutputIterator std::copy(_InputIterator, _InputIterator,
_OutputIterator) [with _InputIterator =
__gnu_cxx::__normal_iterator<NodeReference*, std::vector<NodeReference,
std::allocator<NodeReference> > >, _OutputIterator =
TraversableObserverEraseOutputIterator]’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algo.h:4347:
  instantiated from ‘_OutputIterator std::set_difference(_InputIterator1,
_InputIterator1, _InputIterator2, _InputIterator2, _OutputIterator) [with
_InputIterator1 = __gnu_cxx::__normal_iterator<NodeReference*,
std::vector<NodeReference, std::allocator<NodeReference> > >, _InputIterator2 =
__gnu_cxx::__normal_iterator<NodeReference*, std::vector<NodeReference,
std::allocator<NodeReference> > >, _OutputIterator =
TraversableObserverEraseOutputIterator]’
libs/traverselib.h:76:   instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_iterator_base_types.h:131:
error: no type named ‘difference_type’ in ‘class
TraversableObserverEraseOutputIterator’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_iterator_base_types.h:
In instantiation of ‘std::iterator_traits<TraversableObserverInsertOutputIterator>’:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algobase.h:310:
  instantiated from ‘_OI std::__copy_aux(_II, _II, _OI) [with _II =
NodeReference*, _OI = TraversableObserverInsertOutputIterator]’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algobase.h:335:
  instantiated from ‘static _OI std::__copy_normal<true, false>::copy_n(_II,
_II, _OI) [with _II = __gnu_cxx::__normal_iterator<NodeReference*,
std::vector<NodeReference, std::allocator<NodeReference> > >, _OI =
TraversableObserverInsertOutputIterator]’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algobase.h:387:
  instantiated from ‘_OutputIterator std::copy(_InputIterator, _InputIterator,
_OutputIterator) [with _InputIterator =
__gnu_cxx::__normal_iterator<NodeReference*, std::vector<NodeReference,
std::allocator<NodeReference> > >, _OutputIterator =
TraversableObserverInsertOutputIterator]’
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_algo.h:4347:
  instantiated from ‘_OutputIterator std::set_difference(_InputIterator1,
_InputIterator1, _InputIterator2, _InputIterator2, _OutputIterator) [with
_InputIterator1 = __gnu_cxx::__normal_iterator<NodeReference*,
std::vector<NodeReference, std::allocator<NodeReference> > >, _InputIterator2 =
__gnu_cxx::__normal_iterator<NodeReference*, std::vector<NodeReference,
std::allocator<NodeReference> > >, _OutputIterator =
TraversableObserverInsertOutputIterator]’
libs/traverselib.h:77:   instantiated from here
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_iterator_base_types.h:131:
error: no type named ‘difference_type’ in ‘class
TraversableObserverInsertOutputIterator’
scons: *** [build/debug/plugins/entity/eclassmodel.os] Error 1
scons: building terminated because of errors.

-- 
Configure bugmail: http://zerowing.idsoftware.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Gtkradiant mailing list