[Libreoffice-commits] .: Branch 'libreoffice-3-6' - configure.in

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 5 09:30:28 PST 2012


 configure.in |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7ab95915ec2cf7bd9a602daad80a07c4a325c420
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
    Signed-off-by: Luboš Luňák <l.lunak at suse.cz>

diff --git a/configure.in b/configure.in
index b2ae537..e81566e 100644
--- a/configure.in
+++ b/configure.in
@@ -4741,6 +4741,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