diff options
author | Chris Lattner <sabre@nondot.org> | 2004-09-30 00:12:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-09-30 00:12:29 +0000 |
commit | 23367a779cc59e87d38628d8195f6214f4aa8af8 (patch) | |
tree | 8e71d69d37e60daa98bda518b881f4bc19c8870a | |
parent | 1155d31ef6d3b7926bff0aaf63a990843cad3fd2 (diff) | |
download | external_llvm-23367a779cc59e87d38628d8195f6214f4aa8af8.zip external_llvm-23367a779cc59e87d38628d8195f6214f4aa8af8.tar.gz external_llvm-23367a779cc59e87d38628d8195f6214f4aa8af8.tar.bz2 |
Disable the 'WARNING: Found global types that are not compatible' warning
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
-rw-r--r-- | lib/Transforms/IPO/FunctionResolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/FunctionResolution.cpp b/lib/Transforms/IPO/FunctionResolution.cpp index 3450662..b63d98c 100644 --- 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"; |