Fixes for gcc-3.4

[SVN r21453]
This commit is contained in:
Dave Abrahams
2004-01-03 02:47:08 +00:00
parent 9338b11799
commit 28dfcbd6b0

View File

@ -83,10 +83,13 @@
# define BOOST_NO_IS_CONVERTIBLE // "is_convertible doesn't work for simple types" # define BOOST_NO_IS_CONVERTIBLE // "is_convertible doesn't work for simple types"
#endif #endif
#if BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(3)) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) #if BOOST_WORKAROUND(__GNUC__, == 2) \
|| BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4) \
|| BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
# define BOOST_NO_IS_CONVERTIBLE_TEMPLATE // The following program fails to compile: # define BOOST_NO_IS_CONVERTIBLE_TEMPLATE // The following program fails to compile:
# if 0 // test code # if 0 // test code
#include <boost/type_traits/is_convertible.hpp>
template <class T> template <class T>
struct foo struct foo
{ {