aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-06-07 12:47:30 +0200
committerDavid Robillard <d@drobilla.net>2020-06-13 17:18:24 +0200
commiteebb62db425333c3a934d9f17fba87a5cee57460 (patch)
tree1772ed13af34db287f2e95744b37c591455d2164
parent580e7b6e06d1c9806b8b920f27f894b5d1d8cc49 (diff)
downloadpugl-eebb62db425333c3a934d9f17fba87a5cee57460.tar.gz
pugl-eebb62db425333c3a934d9f17fba87a5cee57460.tar.bz2
pugl-eebb62db425333c3a934d9f17fba87a5cee57460.zip
Disable implicit-fallthrough warning with clang
Unfortunately clang does not support the comment syntax (but instead requires non-portable attribute gunk), so just disable it since this is covered by GCC anyway.
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index a3ddb45..da520e0 100644
--- a/wscript
+++ b/wscript
@@ -79,6 +79,7 @@ def configure(conf):
'-Wno-bad-function-cast',
'-Wno-float-equal',
'-Wno-format-nonliteral',
+ '-Wno-implicit-fallthrough',
'-Wno-padded',
'-Wno-reserved-id-macro',
'-Wno-switch-enum',