llvm.org GIT mirror llvm / 72f42bb
For PR786: Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
6 changed file(s) with 12 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
356356 # Options To Invoke Tools
357357 #----------------------------------------------------------
358358
359 CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused
359 CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused -Wno-long-long \
360 -pedantic
360361
361362 ifeq ($(OS),HP-UX)
362363 CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
1313 EXTRA_DIST = Unix Win32 README.txt
1414
1515 include $(LEVEL)/Makefile.common
16
17 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
18 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMCBackend
11 CXXFLAGS += -pedantic -Wno-long-long
1211 include $(LEVEL)/Makefile.common
1111 MODULE_NAME = stkr_runtime
1212
1313 include $(LEVEL)/Makefile.common
14
15 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
16 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
1818 #
1919 include $(LEVEL)/Makefile.common
2020
21 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
22 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
1414
1515 include $(LEVEL)/Makefile.common
1616
17 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
18 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))