Ticket #4110: for_vs2010.patch

File for_vs2010.patch, 1.7 KB (added by anonymous, 13 years ago)
  • boost/config/compiler/visualc.hpp

     
    156156
    157157// C++ features supported by VC++ 10 (aka 2010)
    158158//
    159 #if _MSC_VER < 1600
    160 #define BOOST_NO_AUTO_DECLARATIONS
    161 #define BOOST_NO_AUTO_MULTIDECLARATIONS
    162 #define BOOST_NO_DECLTYPE
    163 #define BOOST_NO_LAMBDAS
    164 #define BOOST_NO_RVALUE_REFERENCES
    165 #define BOOST_NO_STATIC_ASSERT
     159#if _MSC_VER >= 1600
     160#  define BOOST_HAS_DECLTYPE
     161#  define BOOST_HAS_RVALUE_REFS
     162#  define BOOST_HAS_STATIC_ASSERT
     163#else
     164#  define BOOST_NO_AUTO_DECLARATIONS
     165#  define BOOST_NO_AUTO_MULTIDECLARATIONS
     166#  define BOOST_NO_DECLTYPE
     167#  define BOOST_NO_LAMBDAS
     168#  define BOOST_NO_RVALUE_REFERENCES
     169#  define BOOST_NO_STATIC_ASSERT
     170#  define BOOST_NO_NULLPTR
    166171#endif // _MSC_VER < 1600
    167172
    168173// C++0x features not supported by any versions
     
    176181#define BOOST_NO_EXTERN_TEMPLATE
    177182#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
    178183#define BOOST_NO_INITIALIZER_LISTS
    179 #define BOOST_NO_NULLPTR
    180184#define BOOST_NO_RAW_LITERALS
    181185#define BOOST_NO_SCOPED_ENUMS
    182186#define BOOST_NO_SFINAE_EXPR
  • boost/property_tree/detail/ptree_implementation.hpp

     
    1818#if defined(BOOST_MSVC) && \
    1919    (_MSC_FULL_VER == 160020506 || \
    2020     _MSC_FULL_VER == 160021003 || \
    21      _MSC_FULL_VER == 160030128)
     21     _MSC_FULL_VER == 160030128 || \
     22     _MSC_FULL_VER == 160030319)
    2223#define BOOST_PROPERTY_TREE_PAIR_BUG
    2324#endif
    2425