Commit eef6e759 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Merge branch 'cmake-msvc-fixes' into 'master'

cmake: do not use gcc specific warning when building with msvc

See merge request !245
parents 3de360aa 98ef5e22
Pipeline #476162 passed with stage
in 16 minutes and 16 seconds
......@@ -325,6 +325,9 @@ else()
unused-but-set-variable
write-strings
)
set(WARNINGS_C
pointer-sign
)
set(WARNINGS_DISABLED
error=overloaded-virtual
error=missing-field-initializers
......@@ -343,7 +346,7 @@ generate_compiler_warning_flags(
WARNINGS_CFLAGS
WARNINGS
${WARNINGS}
pointer-sign
${WARNINGS_C}
DISABLED
${WARNINGS_DISABLED}
ERRORS
......
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