[libcxx] r302743 - Workaround -W#warnings on Windows until the correct fixes can land

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 16:29:13 PDT 2017


Author: ericwf
Date: Wed May 10 18:29:13 2017
New Revision: 302743

URL: http://llvm.org/viewvc/llvm-project?rev=302743&view=rev
Log:
Workaround -W#warnings on Windows until the correct fixes can land

Modified:
    libcxx/trunk/utils/libcxx/test/config.py

Modified: libcxx/trunk/utils/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/config.py?rev=302743&r1=302742&r2=302743&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Wed May 10 18:29:13 2017
@@ -872,6 +872,9 @@ class Configuration(object):
         # FIXME: Enable the two warnings below.
         self.cxx.addWarningFlagIfSupported('-Wno-conversion')
         self.cxx.addWarningFlagIfSupported('-Wno-unused-local-typedef')
+        # FIXME: Remove this warning once the min/max handling patch lands
+        # See https://reviews.llvm.org/D33080
+        self.cxx.addWarningFlagIfSupported('-Wno-#warnings')
         std = self.get_lit_conf('std', None)
         if std in ['c++98', 'c++03']:
             # The '#define static_assert' provided by libc++ in C++03 mode




More information about the cfe-commits mailing list