Fixed error-code returned when an object does not support WriteProperty but has properties that are known. (#912)
This commit is contained in:
@@ -38,7 +38,9 @@ CFLAGS = -fno-common $(INCLUDES) $(BACNET_FLAGS) -g
|
||||
CFLAGS += -mno-thumb-interwork
|
||||
# dead code removal
|
||||
CFLAGS += -fdata-sections -ffunction-sections
|
||||
|
||||
# C standard to use for compiler
|
||||
CSTANDARD = -std=gnu11
|
||||
CFLAGS += $(CSTANDARD)
|
||||
# enable all relevant warnings that find bugs
|
||||
WARNING_ALL := -Wall -Wextra -Wfloat-equal -Wconversion
|
||||
WARNING_ALL += -Wredundant-decls -Wswitch-default -pedantic
|
||||
@@ -51,11 +53,13 @@ WARNING_ALL += -Wno-implicit-fallthrough
|
||||
# the older Atmel SDK does not meet coding guidelines
|
||||
WARNING_ALL += -Wno-comment -Wno-missing-braces
|
||||
WARNING_ALL += -Wno-unused-variable -Wno-char-subscripts
|
||||
# fix later
|
||||
WARNING_ALL += -Wno-unused-parameter
|
||||
WARNING_ALL += -Wno-type-limits
|
||||
WARNING_ALL += -Wno-redundant-decls
|
||||
#WARNING_ALL += -Werror
|
||||
CFLAGS += $(WARNING_ALL)
|
||||
|
||||
CFLAGS += -Wno-char-subscripts
|
||||
|
||||
LIBRARY = lib$(TARGET).a
|
||||
# -Wa,<options> Pass comma-separated <options> on to the assembler
|
||||
AFLAGS = -Wa,-ahls,-mapcs-32,-adhlns=$(<:.s=.lst)
|
||||
|
||||
Reference in New Issue
Block a user