File 007-clang_cxxflags-4.7.0.patch of Package qtcreator

diff -uprN qt-creator-opensource-src-4.7.0-orig/src/shared/clang/clang_installation.pri qt-creator-opensource-src-4.7.0/src/shared/clang/clang_installation.pri
--- qt-creator-opensource-src-4.7.0-orig/src/shared/clang/clang_installation.pri	2018-07-16 15:13:05.000000000 +0200
+++ qt-creator-opensource-src-4.7.0/src/shared/clang/clang_installation.pri	2018-08-07 12:08:53.982318288 +0200
@@ -173,6 +173,7 @@ isEmpty(LLVM_VERSION) {
     LLVM_CXXFLAGS ~= s,/W4,
     LLVM_CXXFLAGS ~= s,/EH\S*,
     LLVM_CXXFLAGS ~= s,-Werror=date-time,
+    LLVM_CXXFLAGS ~= s,-Werror=unguarded-availability-new,
     LLVM_CXXFLAGS ~= s,-Wcovered-switch-default,
     LLVM_CXXFLAGS ~= s,-fPIC,
     LLVM_CXXFLAGS ~= s,-pedantic,
openSUSE Build Service is sponsored by