summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-03-28 18:39:56 +0100
committerraysan5 <[email protected]>2020-03-28 18:39:56 +0100
commit66e0d774bdd4a084c4180c8ffc5d4e0dcef27861 (patch)
tree5e28896055359edb23d01ec94d9f90d803ec64d7 /examples/Makefile
parenta5e1aff99bf362a3ebef2d4559e7529a36d935f3 (diff)
downloadraylib-66e0d774bdd4a084c4180c8ffc5d4e0dcef27861.tar.gz
raylib-66e0d774bdd4a084c4180c8ffc5d4e0dcef27861.zip
Revert "Update compilation warning flags (#1151)"
This reverts commit 2528854664b78a7db24cbe97b5b4e8bd52e1f18c.
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 6162e36d..ecd4344a 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -182,14 +182,12 @@ endif
# -O1 defines optimization level
# -g include debug information on compilation
# -s strip unnecessary data from build
+# -Wall turns on most, but not all, compiler warnings
# -std=c99 defines C language mode (standard C from 1999 revision)
# -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 += -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
+CFLAGS += -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces
ifeq ($(BUILD_MODE),DEBUG)
CFLAGS += -g