forked from qt-creator/qt-creator
Fix the unguarded-availability-new error
This fixes the following error, when using LLVM 6.0.0: cc1plus: error: -Werror=unguarded-availability-new: no option -Wunguarded-availability-new Task-number: QTCREATORBUG-18398 Change-Id: I243e6165cd624440eb0f376594b2f802c5c909bb Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -226,7 +226,7 @@ isEmpty(LLVM_VERSION) {
|
||||
LLVM_CXXFLAGS ~= s,/EH\S*,
|
||||
LLVM_CXXFLAGS ~= s,/M\S*,
|
||||
LLVM_CXXFLAGS ~= s,/G\S*,
|
||||
LLVM_CXXFLAGS ~= s,-Werror=date-time,
|
||||
LLVM_CXXFLAGS ~= s,-Werror=\S*,
|
||||
LLVM_CXXFLAGS ~= s,-Wcovered-switch-default,
|
||||
LLVM_CXXFLAGS ~= s,-fPIC,
|
||||
LLVM_CXXFLAGS ~= s,-pedantic,
|
||||
|
Reference in New Issue
Block a user