Permalink
Browse files

Make it possible to customize warnings

The code uses some constructs that cause compilers to spit out  warnings. As
they do no harm, one should be able to turn off such warnings and enable others
if needed.
  • Loading branch information...
1 parent c89d60c commit 0fbd9595a7a504347e668138c5889a3a61aae087 @fuzxxl fuzxxl committed Mar 9, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 makefiles/Makefile.linux
@@ -225,7 +225,9 @@ customflags =
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
-CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
+# Disable certain warnings as we don't care for them
+CWARNINGS = -Wno-parentheses -Wno-switch-enum
+CFLAGS = -g $(sysconfigflags) $(prereleaseflags) $(CWARNINGS)
# Don't worry about these -- for development purposes only.
PURIFY = purify

0 comments on commit 0fbd959

Please sign in to comment.