From 5df68fd703a7e68cd31f54d307b133f52e20f8ff Mon Sep 17 00:00:00 2001 From: danimartin82 Date: Thu, 26 Mar 2020 08:16:01 +0100 Subject: [PATCH] Uptade compilation flags in examples with missing -std=c99 --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 2b8f825eb..6162e36d8 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -186,7 +186,7 @@ endif # -std=gnu99 defines C language mode (GNU C from 1999 revision) # -Wno-missing-braces ignore invalid warning (GCC bug 53119) # -D_DEFAULT_SOURCE use with -std=c99 on Linux and PLATFORM_WEB, required for timespec -CFLAGS += -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing +CFLAGS += -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces # Define compiler warning flags: CFLAGS += -Wbool-compare -Wbool-operation -Wbuiltin-declaration-mismatch -Wcast-align -Wchar-subscripts -Wchkp -Wdeprecated -Wformat-overflow -Wfree-nonheap-object -Wimplicit -Wint-in-bool-context -Wint-to-pointer-cast -Wmissing-parameter-type -Woverlength-strings -Wpointer-sign -Wpointer-to-int-cast -Wunused-label -Wunused-local-typedefs -Wunused-result