From 23367a779cc59e87d38628d8195f6214f4aa8af8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Sep 2004 00:12:29 +0000 Subject: 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 --- lib/Transforms/IPO/FunctionResolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Transforms/IPO/FunctionResolution.cpp') diff --git a/lib/Transforms/IPO/FunctionResolution.cpp b/lib/Transforms/IPO/FunctionResolution.cpp index 3450662181..b63d98c20d 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"; -- cgit v1.2.3-18-g5258