diff options
| author | Yuqiang Wang <[email protected]> | 2024-02-21 11:45:04 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-20 22:45:04 -0500 |
| commit | c6bdee3c503a287a0967fd0e3cb6b7a1eb6d0b5e (patch) | |
| tree | 884d88b13750c2a0aa50d7cd7da495730f511605 /src/SConscript | |
| parent | 52a5b5cc48d9ca784f1728f97e2b8b9abc82aa0e (diff) | |
[ci] open ci check with function declaration warning (#8546)
Diffstat (limited to 'src/SConscript')
| -rw-r--r-- | src/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript index 5ab18ef52a..3f3ef4455d 100644 --- a/src/SConscript +++ b/src/SConscript @@ -38,7 +38,7 @@ if rtconfig.PLATFORM in GetGCCLikePLATFORM(): LOCAL_CFLAGS += ' -Warray-bounds -Wuninitialized' # memory access warning LOCAL_CFLAGS += ' -Wreturn-type -Wcomment -Wswitch' # code style warning LOCAL_CFLAGS += ' -Wparentheses -Wlogical-op ' # operation warning - # LOCAL_CFLAGS += ' -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes' # function declaration warning + LOCAL_CFLAGS += ' -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes' # function declaration warning if 'mips' not in rtconfig.PREFIX: # mips toolchain does not support LOCAL_CFLAGS += ' -Wimplicit-fallthrough' # implicit fallthrough warning LOCAL_CFLAGS += ' -Wduplicated-cond -Wduplicated-branches' # duplicated condition warning |
