mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-07 17:38:20 +02:00
Merge branch 'cmake-msvc-fixes' into 'master'
cmake: do not use gcc specific warning when building with msvc See merge request dbus/dbus!245
This commit is contained in:
commit
eef6e75978
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