aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-05 08:14:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-05 08:14:41 +0200
commita2c07b0e1a731648897b284c6946bb9a886ce112 (patch)
tree1448d33e5c77a198ea6050872a244210c9a46637
parent4ded2c22392baeff1c38e562f0999516e75c161d (diff)
parent70194501fc1e419c3353f036d9a226adea6fb1da (diff)
downloadayatana-indicator-sound-a2c07b0e1a731648897b284c6946bb9a886ce112.tar.gz
ayatana-indicator-sound-a2c07b0e1a731648897b284c6946bb9a886ce112.tar.bz2
ayatana-indicator-sound-a2c07b0e1a731648897b284c6946bb9a886ce112.zip
Merge branch 'tari01-pr/suppress-vala-c-warnings'
Attributes GH PR #23: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/23
-rw-r--r--tests/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 99dd399..bbb5b84 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -81,7 +81,11 @@ vala_init(vala-mocks
--vapidir=.
)
-set_source_files_properties(media-player-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-discarded-qualifiers")
+set_source_files_properties(media-player-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types")
+set_source_files_properties(media-player-list-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-unused-variable")
+set_source_files_properties(options-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-unused-variable")
+set_source_files_properties(volume-control-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-int-to-pointer-cast -Wno-implicit-function-declaration")
+set_source_files_properties(volume-warning-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-unused-variable -Wno-int-to-pointer-cast -Wno-implicit-function-declaration")
vala_add(vala-mocks
media-player-mock.vala