diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 6ba8974c8e..92ddeaebcb 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1354,6 +1354,9 @@ def CompileCxx(obj,src,opts): if (optlevel==3): cmd += " -O2" if (optlevel==4): cmd += " -O3 -DNDEBUG" + # Enable more warnings. + cmd += " -Wall -Wno-reorder -Wno-unused-function" + if src.endswith(".c"): cmd += ' ' + CFLAGS else: