mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-07-15 23:35:38 +00:00
update -Wall
This commit is contained in:
parent
af72faa906
commit
c98cbe6e00
86 changed files with 523 additions and 352 deletions
|
|
@ -19,9 +19,13 @@
|
|||
# FLAGS
|
||||
# -------------------------------------------------------------------
|
||||
CFLAGS = -DM3 -DCONFIG_PLATFORM_8195A -DGCC_ARMCM3 -DARDUINO_SDK -DF_CPU=166666666L -DNDEBUG
|
||||
CFLAGS += -mcpu=cortex-m3 -mthumb -g2 -Os -std=gnu99 -Wall -Werror -Wpedantic -Wextra
|
||||
CFLAGS += -mcpu=cortex-m3 -mthumb -g2 -Os -std=gnu99
|
||||
CFLAGS += -fno-common -fmessage-length=0 -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-short-enums -fsigned-char
|
||||
CFLAGS += -w -Wno-pointer-sign
|
||||
CFLAGS += -Wall
|
||||
CFLAGS += -Wno-old-style-declaration -Wno-pointer-sign -Wno-strict-aliasing
|
||||
CFLAGS += -Wno-variadic-macros -Wno-empty-body
|
||||
#CFLAGS += -Werror -Wpedantic -Wno-char-subscripts -Wno-unused-parameter
|
||||
|
||||
ifdef USE_GCC_LIB
|
||||
LFLAGS = -mcpu=cortex-m3 -mthumb -g -Os -nostartfiles --specs=nano.specs
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue