guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. release_1-9-5-45-g8a3


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-5-45-g8a30946
Date: Sun, 29 Nov 2009 15:46:00 +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".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=8a30946f7fd717f3e8c52e99c8d24c4fb4e5f1af

The branch, master has been updated
       via  8a30946f7fd717f3e8c52e99c8d24c4fb4e5f1af (commit)
      from  8b22ed7abdc72f7a8f1844af89aa790d27857c7b (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 8a30946f7fd717f3e8c52e99c8d24c4fb4e5f1af
Author: Ludovic Courtès <address@hidden>
Date:   Sun Nov 29 16:45:38 2009 +0100

    Make `SCM' type definition acceptable for C++ compilers.
    
    * libguile/tags.h (SCM) [SCM_DEBUG_TYPING_STRICTNESS == 1]: Use a named
      struct to avoid errors from C++ compilers such as "error: non-local
      function ‘<anonymous struct>* foo(<anonymous struct>*)’ uses anonymous
      type".  This fixes a regression introduced in
      c6054feaf03f8bde236f5e45a946f38827074923 ("Add support for static
      allocation of cells, strings and stringbufs.").  Reported by Linas
      Vepstas <address@hidden>.

-----------------------------------------------------------------------

Summary of changes:
 libguile/tags.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/tags.h b/libguile/tags.h
index 79f7093..210a82b 100644
--- a/libguile/tags.h
+++ b/libguile/tags.h
@@ -82,7 +82,7 @@ typedef scm_t_uintptr scm_t_bits;
 /* This is the default, which provides an intermediate level of compile time
  * type checking while still resulting in very efficient code.
  */
-    typedef struct { char scm_unused_field; } * SCM;
+    typedef struct scm_unused_struct { char scm_unused_field; } *SCM;
 
 /*
   The 0?: constructions makes sure that the code is never executed,


hooks/post-receive
-- 
GNU Guile




reply via email to

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