Previous 15994 Revisions Next

r11501 Tuesday 10th May, 2011 at 12:01:37 UTC by Curt Coder
Always treat warnings as errors. (nw)
[ROOT]makefile

makefile
r11500r11501
453453CCOMFLAGS += -O$(OPTIMIZE)
454454
455455# if we are optimizing, include optimization options
456# and make all errors into warnings
457456ifneq ($(OPTIMIZE),0)
458ifneq ($(TARGETOS),os2)
459ifndef NOWERROR
460CCOMFLAGS += -Werror -fno-strict-aliasing $(ARCHOPTS)
461else
462457CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS)
463458endif
464else
465CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS)
466endif
467endif
468459
469460# add a basic set of warnings
470461CCOMFLAGS += \
462   -Werror \
471463   -Wall \
472464   -Wcast-align \
473465   -Wundef \

Previous 15994 Revisions Next


© 1998-2018 The MESS Team