mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 11:29:44 +00:00
7374adabb5
Taken from http://gmplib.org/list-archives/gmp-bugs/2011-May/002256.html svn path=/trunk/RosBE/; revision=1322
27 lines
824 B
Diff
27 lines
824 B
Diff
--- acinclude.m4.orig 2011-05-17 19:03:09.000000000 -0400
|
|
+++ acinclude.m4 2011-05-17 19:03:43.000000000 -0400
|
|
@@ -1941,8 +1941,8 @@
|
|
esac
|
|
|
|
cat >conftest.c <<EOF
|
|
-extern const int foo[]; /* Suppresses C++'s suppression of foo */
|
|
-const int foo[] = {1,2,3};
|
|
+extern const int foo[[]]; /* Suppresses C++'s suppression of foo */
|
|
+const int foo[[]] = {1,2,3};
|
|
EOF
|
|
echo "Test program:" >&AC_FD_CC
|
|
cat conftest.c >&AC_FD_CC
|
|
--- configure.orig 2011-05-08 11:49:33.000000000 +0200
|
|
+++ configure 2011-09-17 17:43:18.000000000 +0200
|
|
@@ -26446,8 +26446,8 @@
|
|
esac
|
|
|
|
cat >conftest.c <<EOF
|
|
-extern const int foo; /* Suppresses C++'s suppression of foo */
|
|
-const int foo = {1,2,3};
|
|
+extern const int foo[]; /* Suppresses C++'s suppression of foo */
|
|
+const int foo[] = {1,2,3};
|
|
EOF
|
|
echo "Test program:" >&5
|
|
cat conftest.c >&5
|