Skip to content

Commit 4f47632

Browse files
ENABLE_SDK_WERROR now enables -Werror=#pragma-messages flag
1 parent ac959d7 commit 4f47632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.defines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CFLAGS += -Wvla -Wundef -Wshadow -Wformat=2 -Wformat-security -Wwrite-strings
8585

8686
ENABLE_SDK_WERROR ?= 0
8787
ifneq ($(ENABLE_SDK_WERROR),0)
88-
CFLAGS += -Werror
88+
CFLAGS += -Werror -Werror=\#pragma-messages
8989
endif
9090

9191
CFLAGS += -fdata-sections -ffunction-sections -funsigned-char -fshort-enums

0 commit comments

Comments
 (0)