diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-09-13 13:12:35 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-09-13 13:13:09 -0500 |
| commit | 90f7340bfc35d19fcf5e11c078c7f45399ed07e7 (patch) | |
| tree | 33768068d74c8c15af0cbd2a8d8bf616134d8e9e /py | |
| parent | 01fdd9598a83fee98b2447c50ea911d7bfe205cb (diff) | |
move implicit-fallthrough warning enable to defns.mk
Diffstat (limited to 'py')
| -rw-r--r-- | py/circuitpy_defns.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/circuitpy_defns.mk b/py/circuitpy_defns.mk index 04e38d81e..0e87287c1 100644 --- a/py/circuitpy_defns.mk +++ b/py/circuitpy_defns.mk @@ -31,6 +31,7 @@ BASE_CFLAGS = \ -fsingle-precision-constant \ -fno-strict-aliasing \ -Wdouble-promotion \ + -Wimplicit-fallthrough=2 \ -Wno-endif-labels \ -Wstrict-prototypes \ -Werror-implicit-function-declaration \ |
