projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1155d31
)
Disable the 'WARNING: Found global types that are not compatible' warning
author
Chris Lattner
<sabre@nondot.org>
Thu, 30 Sep 2004 00:12:29 +0000
(
00:12
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 30 Sep 2004 00:12:29 +0000
(
00:12
+0000)
that always prints when linking programs to libstdc++ :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16603
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/FunctionResolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/FunctionResolution.cpp
b/lib/Transforms/IPO/FunctionResolution.cpp
index 34506621813866a485ce8ef739486ac9d0409f1c..b63d98c20dc69bc46d52e5b3234a0d4886950e2a 100644
(file)
--- a/
lib/Transforms/IPO/FunctionResolution.cpp
+++ b/
lib/Transforms/IPO/FunctionResolution.cpp
@@
-247,7
+247,7
@@
static bool ProcessGlobalsWithSameName(Module &M, TargetData &TD,
}
}
- if (!DontPrintWarning) {
+ if (
0 &&
!DontPrintWarning) {
std::cerr << "WARNING: Found global types that are not compatible:\n";
for (unsigned i = 0; i < Globals.size(); ++i) {
std::cerr << "\t";