forked from boostorg/config
Fix for egcs 1.1.1 problems with std::auto_ptr
[SVN r8225]
This commit is contained in:
@@ -170,6 +170,10 @@
|
|||||||
// GNU CC (also known as GCC and G++) --------------------------------------//
|
// GNU CC (also known as GCC and G++) --------------------------------------//
|
||||||
|
|
||||||
# if defined __GNUC__
|
# if defined __GNUC__
|
||||||
|
# if __GNUC__ == 2 && __GNUC_MINOR__ == 91
|
||||||
|
// egcs 1.1 won't parse smart_ptr.hpp without this:
|
||||||
|
# define BOOST_NO_AUTO_PTR
|
||||||
|
# endif
|
||||||
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
|
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
|
||||||
# include <iterator> // not sure this is the right way to do this -JGS
|
# include <iterator> // not sure this is the right way to do this -JGS
|
||||||
# if !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS
|
# if !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS
|
||||||
@@ -396,3 +400,4 @@ namespace std {
|
|||||||
#endif // BOOST_CONFIG_HPP
|
#endif // BOOST_CONFIG_HPP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user