mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-20 21:29:42 +08:00
[ci] open ci check with function declaration warning (#8546)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user