summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-01 01:55:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-01 01:55:21 +0000
commit72f42bbc9baad5fce8ee0a9ef969afbfc201f467 (patch)
treec5981dd67ab0c6a8041933c3e3a7d2f88028e472 /projects
parentdee05112a63cdd440dfb27db12ef541b7afd0a6d (diff)
downloadllvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.gz
llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.bz2
llvm-72f42bbc9baad5fce8ee0a9ef969afbfc201f467.tar.xz
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/Makefile3
-rw-r--r--projects/sample/lib/sample/Makefile2
2 files changed, 5 insertions, 0 deletions
diff --git a/projects/Stacker/lib/runtime/Makefile b/projects/Stacker/lib/runtime/Makefile
index d3ebf18fc5..e10b476c6b 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 140d7d6703..6b1ea05361 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))