Commit 605555fc authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Windows, compiling - use /diagnostics:caret flag, for better diagnostics

parent 98333883
...@@ -216,6 +216,8 @@ IF(MSVC) ...@@ -216,6 +216,8 @@ IF(MSVC)
STRING(APPEND CMAKE_CXX_FLAGS " /we4099 /we4700 /we4311 /we4477 /we4302 /we4090") STRING(APPEND CMAKE_CXX_FLAGS " /we4099 /we4700 /we4311 /we4477 /we4302 /we4090")
IF(MSVC_VERSION GREATER 1910 AND NOT CLANG_CL) IF(MSVC_VERSION GREATER 1910 AND NOT CLANG_CL)
STRING(APPEND CMAKE_CXX_FLAGS " /permissive-") STRING(APPEND CMAKE_CXX_FLAGS " /permissive-")
STRING(APPEND CMAKE_C_FLAGS " /diagnostics:caret")
STRING(APPEND CMAKE_CXX_FLAGS " /diagnostics:caret")
ENDIF() ENDIF()
ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_WARNINGS) ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_WARNINGS)
IF(MYSQL_MAINTAINER_MODE MATCHES "ERR") IF(MYSQL_MAINTAINER_MODE MATCHES "ERR")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment