File tree 2 files changed +3
-1
lines changed
include/tao/json/external
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 8
8
#if ( __cplusplus >= 201703L )
9
9
#define TAOCPP_USE_STD_STRING_VIEW
10
10
#elif defined( _MSC_VER ) && ( _MSC_VER >= 1910L )
11
+ #if defined( _MSC_LANG ) && ( _MSC_LANG >= 201703L )
11
12
#define TAOCPP_USE_STD_STRING_VIEW
12
13
#endif
13
14
#endif
15
+ #endif
14
16
15
17
#ifndef TAOCPP_USE_STD_STRING_VIEW
16
18
#ifndef TAOCPP_USE_TS_STRING_VIEW
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ foreach (testsourcefile ${testsources})
7
7
set_property (TARGET ${exename} PROPERTY CXX_EXTENSIONS OFF )
8
8
target_link_libraries (${exename} taocpp::json)
9
9
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)
11
11
else ()
12
12
target_compile_options (${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror)
13
13
endif ()
You can’t perform that action at this time.
0 commit comments