Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133815 - games-puzzle/quadra refuse to emerge with gcc-4.1
Summary: games-puzzle/quadra refuse to emerge with gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-05-19 14:45 UTC by Tupone Alfredo
Modified: 2006-05-31 11:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc-4.1 patch (quadra-1.1.8-gcc41.patch,2.90 KB, patch)
2006-05-21 14:02 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2006-05-19 14:45:24 UTC
This is the message that stop the compiling
skelton/include/array.h: In member function 'void Array<T>::add_before(const T&,  int) [with T = Zone*]':
skelton/include/inter.h:72:   instantiated from here
skelton/include/array.h:40: error: no matching function for call to 'std::vector <Zone*, std::allocator<Zone*> >::insert(Zone**, Zone* const&)'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/bits/vector.tcc:93: note: ca ndidates are: typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Allo c>::insert(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>: :_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = Zo ne*, _Alloc = std::allocator<Zone*>]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/bits/stl_vector.h:657: note:                  void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_itera tor<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vecto r<_Tp, _Alloc> >, size_t, const _Tp&) [with _Tp = Zone*, _Alloc = std::allocator <Zone*>]
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-05-21 14:02:46 UTC
Created attachment 87211 [details, diff]
gcc-4.1 patch

This should fix everything.  Make sure it still works, since I'm not sure how some parts of it worked to begin with :)
Comment 2 Tupone Alfredo gentoo-dev 2006-05-31 11:56:57 UTC
Fixed in portage, patched needed a little working but thanks for the hints