Skip to content

Commit

Permalink
Workaround -W#warnings on Windows until the correct fixes can land
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWF committed May 10, 2017
1 parent 93fa3eb commit 673794f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libcxx/utils/libcxx/test/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,9 @@ def configure_warnings(self):
# 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
Expand Down

0 comments on commit 673794f

Please sign in to comment.