diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4e8a0c41..bb56e060 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -575,6 +575,10 @@ set(CFLAGS -DISO_CODE_639_XML=\"${ISO_CODE_639_XML}\" -DISO_CODE_3166_XML=\"${ISO_CODE_3166_XML}\" -DGCR_API_SUBJECT_TO_CHANGE + # Vala causes a _lot_ of these to be emitted for otherwise valid + # code. Suppress them so we can actually see more useful warnings. + -Wno-incompatible-pointer-types + -Wno-discarded-qualifiers ) if (REF_TRACKING)