diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 01:55:21 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-01 01:55:21 +0000 |
commit | 72f42bbc9baad5fce8ee0a9ef969afbfc201f467 (patch) | |
tree | c5981dd67ab0c6a8041933c3e3a7d2f88028e472 /projects | |
parent | dee05112a63cdd440dfb27db12ef541b7afd0a6d (diff) | |
download | external_llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.zip external_llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.gz external_llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.bz2 |
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
Diffstat (limited to 'projects')
-rw-r--r-- | projects/Stacker/lib/runtime/Makefile | 3 | ||||
-rw-r--r-- | projects/sample/lib/sample/Makefile | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/projects/Stacker/lib/runtime/Makefile b/projects/Stacker/lib/runtime/Makefile index d3ebf18..e10b476 100644 --- a/projects/Stacker/lib/runtime/Makefile +++ b/projects/Stacker/lib/runtime/Makefile @@ -12,3 +12,6 @@ DONT_BUILD_RELINKED = 1 MODULE_NAME = stkr_runtime include $(LEVEL)/Makefile.common + +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) diff --git a/projects/sample/lib/sample/Makefile b/projects/sample/lib/sample/Makefile index 140d7d6..6b1ea05 100644 --- a/projects/sample/lib/sample/Makefile +++ b/projects/sample/lib/sample/Makefile @@ -19,3 +19,5 @@ LOADABLE_MODULE=1 # include $(LEVEL)/Makefile.common +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) |