[Gmp-commit] /var/hg/gmp: Amend last change (thanks Marc Glisse for spotting ...

mercurial at gmplib.org mercurial at gmplib.org
Wed Jul 3 10:47:00 UTC 2019


details:   /var/hg/gmp/rev/cbc6dbf95a10
changeset: 17777:cbc6dbf95a10
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Jul 03 12:46:56 2019 +0200
description:
Amend last change (thanks Marc Glisse for spotting some errors!).

diffstat:

 acinclude.m4 |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 33eb0998a052 -r cbc6dbf95a10 acinclude.m4
--- a/acinclude.m4	Tue Jul 02 17:56:21 2019 +0200
+++ b/acinclude.m4	Wed Jul 03 12:46:56 2019 +0200
@@ -3296,7 +3296,8 @@
                 gmp_cv_c_double_format,
 [gmp_cv_c_double_format=unknown
 cat >conftest.c <<\EOF
-[struct foo {
+[#include <stdio.h>
+struct foo {
   char    before[8];
   double  x;
   char    after[8];
@@ -3310,7 +3311,7 @@
 int main(){
   int i;
   for (i = 0; i < 8; i++) {
-    printf ("%d %d %f\n", foo.before[i] + foo.after[i], foo.x);
+    printf ("%d %f\n", foo.before[i] + foo.after[i], foo.x);
   }
   return 0;
 }]


More information about the gmp-commit mailing list