Subject: [Boost-bugs] [Boost C++ Libraries] #6323: Conflicting forward declarations with versioned namespace in libstdc++.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-25 12:45:57
#6323: Conflicting forward declarations with versioned namespace in libstdc++.
----------------------------------------------+-----------------------------
Reporter: Kohei Takahashi <flast@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost Development Trunk
Severity: Problem | Keywords:
----------------------------------------------+-----------------------------
GCC says following error.
{{{
In file included from ./boost/functional/hash/hash.hpp:535:0,
from ./boost/functional/hash.hpp:6,
from ./boost/unordered/unordered_set.hpp:21,
from ./boost/unordered_set.hpp:16,
from ./boost/graph/adjacency_list.hpp:21,
from libs/python/src/object/inheritance.cpp:11:
./boost/functional/hash/extensions.hpp:34:33: error: template declaration
of 'std::size_t boost::hash_value'
./boost/functional/hash/extensions.hpp:34:28: error: reference to 'pair'
is ambiguous
./boost/detail/container_fwd.hpp:143:42: error: candidates are:
template<class T1, class T2> struct std::pair
/usr/local/lib/gcc/i686-pc-linux-
gnu/4.6.3/../../../../include/c++/4.6.3/bits/stl_pair.h:87:12: error:
template<class _T1, class _T2> struct std::__7::pair
./boost/functional/hash/extensions.hpp:34:39: error: expected primary-
expression before ',' token
}}}
This problem similar to #6287.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6323> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC