mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-07 22:18:19 +02:00
cmake: do not use gcc specific warning when building with msvc
This commit is contained in:
parent
3de360aa4b
commit
98ef5e22f7
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue