Defined BOOST_NO_VOID_RETURNS in MSVC 6 mode.

[SVN r11846]
This commit is contained in:
Peter Dimov
2001-12-01 13:19:05 +00:00
parent 5435b76457
commit ebc6c751ac
2 changed files with 16 additions and 1 deletions

View File

@ -15,6 +15,13 @@
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP # define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
# define BOOST_NO_SWPRINTF # define BOOST_NO_SWPRINTF
# endif # endif
// Void returns don't work when emulating VC 6 (Peter Dimov)
# if defined(_MSC_VER) && (_MSC_VER <= 1200)
# define BOOST_NO_VOID_RETURNS
# endif
#endif #endif
#define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__) #define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__)

View File

@ -23,7 +23,8 @@
#if (BOOST_INTEL_CXX_VERSION <= 600) || !defined(BOOST_STRICT_CONFIG) #if (BOOST_INTEL_CXX_VERSION <= 600) || !defined(BOOST_STRICT_CONFIG)
# if defined(_MSC_VER) # if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov)
// Intel C++ 5.0.1 uses EDG 2.45, but fails to activate Koenig lookup // Intel C++ 5.0.1 uses EDG 2.45, but fails to activate Koenig lookup
// in the frontend even in "strict" mode, unless you use // in the frontend even in "strict" mode, unless you use
// -Qoption,cpp,--arg_dep_lookup. (reported by Kirk Klobe & Thomas Witt) // -Qoption,cpp,--arg_dep_lookup. (reported by Kirk Klobe & Thomas Witt)
@ -38,6 +39,13 @@
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
# endif # endif
// Void returns, 64 bit integrals don't work when emulating VC 6 (Peter Dimov)
# if defined(_MSC_VER) && (_MSC_VER <= 1200)
# define BOOST_NO_VOID_RETURNS
# define BOOST_NO_INTEGRAL_INT64_T
# endif
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER