X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.rules;h=a56f26edb3578b41288db85d6560919e3df05822;hb=9993a3aebb27c5cac55429a23af2d2a0f129cb95;hp=a1edb6b7dd835c1c4ab0d77721e5e3fe31606821;hpb=1485455be0310c6b24f096823029e08867531016;p=oota-llvm.git diff --git a/Makefile.rules b/Makefile.rules index a1edb6b7dd8..a56f26edb35 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -650,7 +650,7 @@ ifndef NO_PEDANTIC CompileCommonOpts += -pedantic -Wno-long-long endif CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \ - $(EXTRA_OPTIONS) + $(EXTRA_OPTIONS) $(COVERED_SWITCH_DEFAULT) # Enable cast-qual for C++; the workaround is to use const_cast. CXX.Flags += -Wcast-qual