Opened 5 years ago

Closed 4 years ago

#13362 closed Bugs (fixed)

Update config for VS2017 (15.5.2)

Reported by: aleksander.matveyev@… Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.66.0 Severity: Cosmetic
Keywords: c++17 vs2017 Cc:

Description

Some functionality supported in vs2017 in c++17 mode. Requested changes in visualc.hpp file

...
// C++ 11:
//
#if (_MSC_VER < 1911)
#  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#  define BOOST_NO_CXX11_SFINAE_EXPR
#endif
// C++ 14:
#define BOOST_NO_CXX14_CONSTEXPR
// C++ 17:
#if (_MSC_VER < 1911)
#  define BOOST_NO_CXX17_INLINE_VARIABLES
#  define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif

...

Change History (2)

comment:1 by aleksander.matveyev@…, 5 years ago

Some functionality supported in vs2017 in c++17 mode. Requested changes in visualc.hpp file

...
// C++ 11:
//
#if !(Something cxx flag detection is c++17 mode )
#  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#  define BOOST_NO_CXX11_SFINAE_EXPR
#endif
// C++ 14:
#define BOOST_NO_CXX14_CONSTEXPR
// C++ 17:
#if !(Something cxx flag detection is c++17 mode )
#  define BOOST_NO_CXX17_INLINE_VARIABLES
#  define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif

...

comment:2 by John Maddock, 4 years ago

Resolution: fixed
Status: newclosed

Already addressed.

Note: See TracTickets for help on using tickets.