Fixed error-code returned when an object does not support WriteProperty but has properties that are known. (#912)

This commit is contained in:
Steve Karg
2025-02-12 16:54:40 -06:00
committed by GitHub
parent ae135cd368
commit 7b9d6d7dc5
8 changed files with 383 additions and 20 deletions
+7 -3
View File
@@ -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)