aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-09-10 16:14:14 +0200
committerThomas White <taw@physics.org>2021-09-17 10:47:02 +0200
commitd56cb13bb57bfc39eae2239f37d690bfb82e671d (patch)
treef1f20954eec3e94dead396454b960430bf1277c7
parent9310ff6fefe2a15f12433f2fae96af7a92c58abf (diff)
Meson: Quieten down the libccp4c compilation
Hopefully we can get these warnings fixed upstream, but I don't think it will happen soon.
-rw-r--r--subprojects/packagefiles/libccp4c/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/subprojects/packagefiles/libccp4c/meson.build b/subprojects/packagefiles/libccp4c/meson.build
index b7b976ba..e5d3af1a 100644
--- a/subprojects/packagefiles/libccp4c/meson.build
+++ b/subprojects/packagefiles/libccp4c/meson.build
@@ -17,6 +17,13 @@ datadir = get_option('datadir') / 'ccp4'
add_project_arguments('-DPACKAGE_ROOT="' + get_option('prefix') + '"',
language: 'c')
+add_project_arguments('-Wno-uninitialized', language: 'c')
+add_project_arguments('-Wno-unused-function', language: 'c')
+add_project_arguments('-Wno-stringop-truncation', language: 'c')
+add_project_arguments('-Wno-stringop-overflow', language: 'c')
+add_project_arguments('-Wno-format-overflow', language: 'c')
+add_project_arguments('-Wno-misleading-indentation', language: 'c')
+add_project_arguments('-Wno-pointer-compare', language: 'c')
# C library