mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
Windows, compiling - use /diagnostics:caret flag, for better diagnostics
This commit is contained in:
parent
98333883ee
commit
605555fc31
1 changed files with 2 additions and 0 deletions
|
@ -216,6 +216,8 @@ IF(MSVC)
|
|||
STRING(APPEND CMAKE_CXX_FLAGS " /we4099 /we4700 /we4311 /we4477 /we4302 /we4090")
|
||||
IF(MSVC_VERSION GREATER 1910 AND NOT CLANG_CL)
|
||||
STRING(APPEND CMAKE_CXX_FLAGS " /permissive-")
|
||||
STRING(APPEND CMAKE_C_FLAGS " /diagnostics:caret")
|
||||
STRING(APPEND CMAKE_CXX_FLAGS " /diagnostics:caret")
|
||||
ENDIF()
|
||||
ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_WARNINGS)
|
||||
IF(MYSQL_MAINTAINER_MODE MATCHES "ERR")
|
||||
|
|
Loading…
Add table
Reference in a new issue