Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
605555fc
Commit
605555fc
authored
Jun 19, 2020
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows, compiling - use /diagnostics:caret flag, for better diagnostics
parent
98333883
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cmake/os/Windows.cmake
cmake/os/Windows.cmake
+2
-0
No files found.
cmake/os/Windows.cmake
View file @
605555fc
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment