|
Boost-Commit : |
From: dgregor_at_[hidden]
Date: 2008-07-09 10:25:40
Author: dgregor
Date: 2008-07-09 10:25:40 EDT (Wed, 09 Jul 2008)
New Revision: 47264
URL: http://svn.boost.org/trac/boost/changeset/47264
Log:
Fix hash_set and hash_map headers for GCC 4.3, from Ralf W. Grosse-Kunstleve. Fixes #1462
Text files modified:
trunk/boost/config/stdlib/libstdcpp3.hpp | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2008-07-09 10:25:40 EDT (Wed, 09 Jul 2008)
@@ -68,6 +68,11 @@
# define BOOST_HAS_SLIST
# define BOOST_HAS_HASH
# define BOOST_SLIST_HEADER <ext/slist>
-# define BOOST_HASH_SET_HEADER <ext/hash_set>
-# define BOOST_HASH_MAP_HEADER <ext/hash_map>
+# if defined(__GLIBCXX__) && __GLIBCXX__ < 20071018 // GCC <= 4.3.0
+# define BOOST_HASH_SET_HEADER <ext/hash_set>
+# define BOOST_HASH_MAP_HEADER <ext/hash_map>
+# else
+# define BOOST_HASH_SET_HEADER <backward/hash_set>
+# define BOOST_HASH_MAP_HEADER <backward/hash_map>
+# endif
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk