[Libreoffice-commits] .: configure.in
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Jul 19 03:45:47 PDT 2012
configure.in | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 85b35ac289f661f64cdddd145deaf419f61f5d4c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jul 19 12:43:58 2012 +0200
Detect failing Clang with GCC 4.7 headers and --std=gnu++0x scenarios
Change-Id: I6caa48a428ac7fef23f7c3e6fc7896b7e3a8d0fc
diff --git a/configure.in b/configure.in
index 15adc26..081c6f0 100644
--- a/configure.in
+++ b/configure.in
@@ -4778,6 +4778,9 @@ if test "$GCC" = "yes"; then
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <stddef.h>
+#include <vector>
+ // some Clang fail when compiling against GCC 4.7 headers with --std=gnu++0x
+
template <typename T, size_t S> char (&sal_n_array_size( T(&)[S] ))[S];
namespace
More information about the Libreoffice-commits
mailing list