From: Chris Lattner Date: Thu, 30 Sep 2004 00:12:29 +0000 (+0000) Subject: Disable the 'WARNING: Found global types that are not compatible' warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=23367a779cc59e87d38628d8195f6214f4aa8af8;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/IPO/FunctionResolution.cpp b/lib/Transforms/IPO/FunctionResolution.cpp index 34506621813..b63d98c20dc 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";