[Dune] [#432] [Test Suite] fails to compile lrutest (Attachment added)

Dune dune at dune-project.org
Thu Oct 2 14:19:12 CEST 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#432 - [Test Suite] fails to compile lrutest
User who did this - Elias Pipping (pipping)

----------
For lrutest, I've tried to come up with a minimal working example.

These are the results with lru_mwe.cc:

pipping at quicksand $ g++ --version | head -n1
g++ (Gentoo 4.3.2 p1.1) 4.3.2
pipping at quicksand $ /usr/bin/g++-4.2 --version | head -n1
i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)

pipping at quicksand $ g++ -c lru_mwe.cc -Wall -Wextra
pipping at quicksand $ 

pipping at quicksand $ /usr/bin/g++-4.2 -c lru_mwe.cc -Wall -Wextra
/usr/include/c++/4.0.0/bits/stl_tree.h: In member function ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::destroy_node(std::_Rb_tree_node<_Val>*) [with _Key = int, _Val = std::pair<const int, std::_List_iterator<std::pair<int, double> > >, _KeyOfValue = std::_Select1st<std::pair<const int, std::_List_iterator<std::pair<int, double> > > >, _Compare = std::less<int>, _Alloc = std::allocator<double>]’:
/usr/include/c++/4.0.0/bits/stl_tree.h:1058:   instantiated from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = int, _Val = std::pair<const int, std::_List_iterator<std::pair<int, double> > >, _KeyOfValue = std::_Select1st<std::pair<const int, std::_List_iterator<std::pair<int, double> > > >, _Compare = std::less<int>, _Alloc = std::allocator<double>]’
/usr/include/c++/4.0.0/bits/stl_tree.h:570:   instantiated from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = int, _Val = std::pair<const int, std::_List_iterator<std::pair<int, double> > >, _KeyOfValue = std::_Select1st<std::pair<const int, std::_List_iterator<std::pair<int, double> > > >, _Compare = std::less<int>, _Alloc = std::allocator<double>]’
/usr/include/c++/4.0.0/bits/stl_map.h:92:   instantiated from here
/usr/include/c++/4.0.0/bits/stl_tree.h:389: error: no matching function for call to ‘std::allocator<double>::destroy(std::pair<const int, std::_List_iterator<std::pair<int, double> > >*)’
/usr/include/c++/4.0.0/ext/new_allocator.h:107: note: candidates are: void __gnu_cxx::new_allocator<_Tp>::destroy(_Tp*) [with _Tp = double]
pipping at quicksand $ 
----------

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=432#comment537

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list