[llvm-commits] [llvm] r73765 - /llvm/trunk/Makefile.rules
Duncan Sands
baldrick at free.fr
Fri Jun 19 05:40:42 PDT 2009
Author: baldrick
Date: Fri Jun 19 07:40:30 2009
New Revision: 73765
URL: http://llvm.org/viewvc/llvm-project?rev=73765&view=rev
Log:
Since -Wno-long-long is ignored without -pedantic,
place it with -pedantic. Remove -Wunused since it
is implied by -Wall. Group -Wno-unused-parameter
with -Wall -W since it is the combination of these
two that turns on -Wunused-parameter.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=73765&r1=73764&r2=73765&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Jun 19 07:40:30 2009
@@ -519,10 +519,10 @@
#----------------------------------------------------------
ifndef NO_PEDANTIC
-CompileCommonOpts += -pedantic
+CompileCommonOpts += -pedantic -Wno-long-long
endif
-CompileCommonOpts += -Wall -W -Wwrite-strings -Wno-long-long \
- -Wunused -Wno-unused-parameter $(EXTRA_OPTIONS)
+CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
+ $(EXTRA_OPTIONS)
ifeq ($(OS),HP-UX)
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
More information about the llvm-commits
mailing list