can't reproduce:
/usr/include/c++/4.2/ext/new_allocator.h: In instantiation of
'__gnu_cxx::new_allocator<boost::filesystem::path&>':
/usr/include/c++/4.2/bits/allocator.h:86: instantiated from
'std::allocator<boost::filesystem::path&>'
/usr/include/c++/4.2/bits/stl_list.h:299: instantiated from
'std::_List_base<boost::filesystem::path&,
std::allocator<boost::filesystem::path&> >'
/usr/include/c++/4.2/bits/stl_list.h:408: instantiated from
'std::list<boost::filesystem::path&, std::allocator<boost::filesystem::path&> >'
dfs/Name_Node.cpp:53: instantiated from here
/usr/include/c++/4.2/ext/new_allocator.h:58: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:59: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:60: error: forming reference to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:61: error: forming reference to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:78: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:81: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:86: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:96: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:106: error: forming reference to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/ext/new_allocator.h:110: error: forming pointer to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/allocator.h: In instantiation of
'std::allocator<boost::filesystem::path&>':
/usr/include/c++/4.2/bits/stl_list.h:299: instantiated from
'std::_List_base<boost::filesystem::path&,
std::allocator<boost::filesystem::path&> >'
/usr/include/c++/4.2/bits/stl_list.h:408: instantiated from
'std::list<boost::filesystem::path&, std::allocator<boost::filesystem::path&> >'
dfs/Name_Node.cpp:53: instantiated from here
/usr/include/c++/4.2/bits/allocator.h:90: error: forming pointer to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/allocator.h:91: error: forming pointer to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/allocator.h:92: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/allocator.h:93: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h: In instantiation of
'std::list<boost::filesystem::path&, std::allocator<boost::filesystem::path&>
>':
dfs/Name_Node.cpp:53: instantiated from here
/usr/include/c++/4.2/bits/stl_list.h:450: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:484: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:547: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:733: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:763: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/list.tcc:86: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:808: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/list.tcc:175: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:1122: error: forming reference to
reference type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/list.tcc:143: error: forming reference to reference
type 'boost::filesystem::path&'
/usr/include/c++/4.2/bits/stl_list.h:1159: error: forming reference to
reference type 'boost::filesystem::path&'
dfs/Name_Node.cpp: In static member function 'static int Name_Node::format()':
dfs/Name_Node.cpp:54: error: 'class std::list<boost::filesystem::path&,
std::allocator<boost::filesystem::path&> >' has no member named 'push_back'
dfs/Name_Node.cpp:54: error: 'path' was not declared in this scope
dfs/Name_Node.cpp:56: error: no matching function for call to
'Fs_Name_System::Fs_Name_System(std::list<boost::filesystem::path&,
std::allocator<boost::filesystem::path&> >&)'
dfs/Fs_Name_System.hpp:17: note: candidates are:
Fs_Name_System::Fs_Name_System(std::list<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits>,
std::allocator<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>
> >&)
dfs/Fs_Name_System.hpp:15: note:
Fs_Name_System::Fs_Name_System(const Fs_Name_System&)
/usr/include/c++/4.2/bits/list.tcc: In member function 'void
std::_List_base<_Tp, _Alloc>::_M_clear() [with _Tp = boost::filesystem::path&,
_Alloc = std::allocator<boost::filesystem::path&>]':
/usr/include/c++/4.2/bits/stl_list.h:348: instantiated from
'std::_List_base<_Tp, _Alloc>::~_List_base() [with _Tp =
boost::filesystem::path&, _Alloc = std::allocator<boost::filesystem::path&>]'
/usr/include/c++/4.2/bits/stl_list.h:408: instantiated from here
/usr/include/c++/4.2/bits/list.tcc:78: error: 'class
std::allocator<boost::filesystem::path&>' has no member named 'destroy'
** Changed in: gcc-4.2 (Ubuntu)
Status: New => Incomplete
--
gcc crashes while compile
https://bugs.launchpad.net/bugs/230447
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs