revert part of "ignore compiler warnings"; fixed on master

pull/20/head
telans 4 years ago
parent ef98f2d2d8
commit d2cd2c5743
No known key found for this signature in database
GPG Key ID: 195444EE92DBCB20

@ -141,7 +141,7 @@ endforeach
# For some reason, the test for -Wno-foo always succeeds with gcc, even if the
# option is not supported. Hence, check for -Wfoo instead.
foreach a : ['non-virtual-dtor', 'missing-field-initializers', 'format-truncation', 'pointer-arith', 'unused-variable']
foreach a : ['non-virtual-dtor', 'missing-field-initializers', 'format-truncation']
if cpp.has_argument('-W' + a)
cpp_args += '-Wno-' + a
endif

Loading…
Cancel
Save