configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ab8bf5533f8de9bb1aa9dc83e650e4eccf0fcac3 Author: Luboš Luňák <l.lu...@collabora.com> Date: Fri Apr 13 11:20:08 2018 +0200
avoid error message from configure about clang's header for compiler plugins The header fails to compile without C++11 with recent Clang, and although configure currently passes the check because the existence of the header is considered to be enough, it still prints a distracting error message about the compile check failing. Change-Id: Icf037114b73122f193629e17a8e2b0e2bca3a990 diff --git a/configure.ac b/configure.ac index f21424e15810..bdc374699cb9 100644 --- a/configure.ac +++ b/configure.ac @@ -6568,7 +6568,7 @@ if test "$COM_IS_CLANG" = "TRUE"; then # compiler plugins must be built with "native" compiler that was used to build Clang itself: : "${COMPILER_PLUGINS_CXX=g++}" CXX=$COMPILER_PLUGINS_CXX - CPPFLAGS="$CPPFLAGS -I$CLANGDIR/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" + CPPFLAGS="$CPPFLAGS $CXXFLAGS_CXX11 -I$CLANGDIR/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" AC_CHECK_HEADER(clang/AST/RecursiveASTVisitor.h, [COMPILER_PLUGINS=TRUE], [ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits