Disable the 'WARNING: Found global types that are not compatible' warning
authorChris Lattner <sabre@nondot.org>
Thu, 30 Sep 2004 00:12:29 +0000 (00:12 +0000)
committerChris 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

index 34506621813866a485ce8ef739486ac9d0409f1c..b63d98c20dc69bc46d52e5b3234a0d4886950e2a 100644 (file)
@@ -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";