File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
include/tao/json/external Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 88#if ( __cplusplus >= 201703L )
99#define TAOCPP_USE_STD_STRING_VIEW
1010#elif defined( _MSC_VER ) && ( _MSC_VER >= 1910L )
11+ #if defined( _MSC_LANG ) && ( _MSC_LANG >= 201703L )
1112#define TAOCPP_USE_STD_STRING_VIEW
1213#endif
1314#endif
15+ #endif
1416
1517#ifndef TAOCPP_USE_STD_STRING_VIEW
1618#ifndef TAOCPP_USE_TS_STRING_VIEW
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ foreach (testsourcefile ${testsources})
77 set_property (TARGET ${exename} PROPERTY CXX_EXTENSIONS OFF )
88 target_link_libraries (${exename} taocpp::json)
99 if (MSVC )
10- target_compile_options (${exename} PRIVATE /std:c++17 / W4 /WX /utf-8)
10+ target_compile_options (${exename} PRIVATE /W4 /WX /utf-8)
1111 else ()
1212 target_compile_options (${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror)
1313 endif ()
You can’t perform that action at this time.
0 commit comments