[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-0-48-gba4

From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-0-48-gba4c43d
Date: Tue, 14 Jul 2009 22:33:12 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, master has been updated
       via  ba4c43dc3b6c4bb3b65883283e00228df6029371 (commit)
      from  19fef497f09c7ddd9e91e3da2e86bcdfb7f303d0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ba4c43dc3b6c4bb3b65883283e00228df6029371
Author: Ludovic Courtès <address@hidden>
Date:   Wed Jul 15 00:32:05 2009 +0200

    Remove the `long_long' and `ulong_long' types.
    * libguile/gen-scmconfig.c (main): Don't emit typedefs for `long_long'
      and `ulong_long'.  This was already deprecated in 1.8 and known to
      cause conflicts with other libraries such as HDF5, as reported by Mark
      Patterson <address@hidden>


Summary of changes:
 NEWS                     |    4 ++++
 libguile/gen-scmconfig.c |   15 ---------------
 2 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/NEWS b/NEWS
index 52092c0..445bb1c 100644
--- a/NEWS
+++ b/NEWS
@@ -70,6 +70,8 @@ from 8-bit integers to 64-bit floating-point values.
 In the next release, we hope to extend this speedup to other kinds of
 uniform vectors.
+** The `long_long' C type, deprecated in 1.8, has been removed.
 ** And of course, the usual collection of bugfixes.
 Interested users should see the ChangeLog for more information.
@@ -593,6 +595,8 @@ This procedure corresponds to Scheme's 
 Previously they would use the `off_t' type, which is fragile since its
 definition depends on the application's value for `_FILE_OFFSET_BITS'.
+** The `long_long' C type, deprecated in 1.8, has been removed
 * Changes to the distribution
 ** Guile's license is now LGPLv3+
diff --git a/libguile/gen-scmconfig.c b/libguile/gen-scmconfig.c
index 98fcc88..d569638 100644
--- a/libguile/gen-scmconfig.c
+++ b/libguile/gen-scmconfig.c
@@ -279,21 +279,6 @@ main (int argc, char *argv[])
   pf ("#define SCM_SIZEOF_LONG_LONG %d\n", SIZEOF_LONG_LONG);
-  pf("\n");
-  pf("/* handling for the deprecated long_long and ulong_long types */\n");  
-  pf("/* If anything suitable is available, it'll be defined here.  */\n");  
-  pf("#if (SCM_ENABLE_DEPRECATED == 1)\n");
-  if (SIZEOF_LONG_LONG != 0)
-    pf ("typedef long long long_long;\n");
-  else if (SIZEOF___INT64 != 0)
-    pf ("typedef __int64 long_long;\n");
-    pf ("typedef unsigned long long ulong_long;\n");
-  else if (SIZEOF_UNSIGNED___INT64 != 0)
-    pf ("typedef unsigned __int64 ulong_long;\n");
-  pf("#endif /* SCM_ENABLE_DEPRECATED == 1 */\n");
   pf ("\n");
   pf ("/* These are always defined. */\n");
   pf ("typedef %s scm_t_int8;\n", SCM_I_GSC_T_INT8);

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]