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.
This commit is contained in:
Robert Clausecker 2013-03-10 00:06:00 +01:00
parent c89d60c79b
commit 0fbd9595a7

View File

@ -225,7 +225,9 @@ customflags =
# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- # ---------------------- 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. # Don't worry about these -- for development purposes only.
PURIFY = purify PURIFY = purify