Commit 703d40f8 authored by Lucas Russo's avatar Lucas Russo

examples/Makefile: add gcc/clang ignore error on #warning

As we use -Werror all warnings are treated as
errors and liberrhand will issue an warning if
we do not specify DEBUG flags. To keep things
clean, we ignore these warnings here.
parent a20197b1
......@@ -36,8 +36,16 @@ CFLAGS_DEBUG += -g
# Specific platform Flags
CFLAGS_PLATFORM = -Wall -Wextra -Werror \
-Wno-missing-field-initializers \
-Wno-missing-braces \
-Wno-cpp
-Wno-missing-braces
ifeq ($(CC),$(filter $(CC),gcc cc))
CFLAGS_PLATFORM += -Wno-cpp
endif
ifeq ($(CC),clang)
CFLAGS_PLATFORM += -Wno-error=\#warnings
endif
LDFLAGS_PLATFORM =
# Libraries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment