Attempt to enable -Wconversion
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@346451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -932,7 +932,7 @@ class Configuration(object):
|
||||
self.cxx.addWarningFlagIfSupported('-Wunused-parameter')
|
||||
self.cxx.addWarningFlagIfSupported('-Wunreachable-code')
|
||||
# FIXME: Enable the two warnings below.
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-conversion')
|
||||
# self.cxx.addWarningFlagIfSupported('-Wno-conversion')
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-unused-local-typedef')
|
||||
std = self.get_lit_conf('std', None)
|
||||
if std in ['c++98', 'c++03']:
|
||||
|
||||
Reference in New Issue
Block a user