Skip to content
Snippets Groups Projects
Commit 3c0498d8 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

cortexm: escalate implicit-function-declaration to error

"implicit declaration of function 'blah'" is a symptom of a missing #include
and should be considered an error.
parent 68ee0f7c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ include $(RIOTBOARD)/Makefile.include.gnu
# define build specific options
export CFLAGS_CPU = -mcpu=$(MCPU) -mlittle-endian -mthumb -mno-thumb-interwork $(CFLAGS_FPU)
export CFLAGS_STYLE = -std=gnu99 -Wall -Wstrict-prototypes
export CFLAGS_STYLE = -std=gnu99 -Wall -Wstrict-prototypes -Werror=implicit-function-declaration
export CFLAGS_LINK = -ffunction-sections -fdata-sections -fno-builtin
export CFLAGS_DBG = -ggdb -g3
export CFLAGS_OPT ?= -Os
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment