diff options
| author | hathach <[email protected]> | 2022-06-24 19:45:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-24 19:46:19 +0700 |
| commit | 4f6e770eda9f8c605b238f35def1edaff93a8fb8 (patch) | |
| tree | 65e8c12260d3b04fe01bf933886a05094a9cf81b /examples/make.mk | |
| parent | 4639cac85cf959c3bfed091c02dce1345f067c7a (diff) | |
add more warning option, also fix -Wconversion with rp2040
-Wuninitialized, -Wunused, -Wredundant-decls
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk index bed46d02b..26065c027 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -108,8 +108,13 @@ CFLAGS += \ -Wcast-align \ -Wcast-function-type \ -Wcast-qual \ - -Wnull-dereference + -Wnull-dereference \ + -Wuninitialized \ + -Wunused \ + -Wredundant-decls +# -Wconversion \ + # Debugging/Optimization ifeq ($(DEBUG), 1) CFLAGS += -Og |
