mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-01 11:36:51 +02:00
build: Enable -Wimplicit-fallthrough by default
This commit is contained in:
parent
3aff811d13
commit
93b9f22369
@ -344,6 +344,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
|||||||
test_c_args = [
|
test_c_args = [
|
||||||
'-Wall',
|
'-Wall',
|
||||||
'-Wduplicated-branches',
|
'-Wduplicated-branches',
|
||||||
|
'-Wimplicit-fallthrough',
|
||||||
'-Wmisleading-indentation',
|
'-Wmisleading-indentation',
|
||||||
'-Wstrict-prototypes',
|
'-Wstrict-prototypes',
|
||||||
'-Wunused',
|
'-Wunused',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user