guile-devel
[Top][All Lists]
Advanced

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

Re: GNU Guile 2.1.6 released (beta)


From: Matt Wette
Subject: Re: GNU Guile 2.1.6 released (beta)
Date: Tue, 24 Jan 2017 19:35:49 -0800


On Jan 18, 2017, at 6:26 PM, Andy Wingo <address@hidden> wrote:

We are pleased to announce GNU Guile release 2.1.6.

Guile 2.1.6 is the sixth pre-release in what will eventually become the
2.2 release series.  We encourage you to test this release and provide
feedback to address@hidden.

So I am trying to compile using clang.  This has detected issues with atomics-internal.h.  I can fix most issues with casts:
 static inline uint32_t
 scm_atomic_subtract_uint32 (uint32_t *loc, uint32_t arg)
 {
-  return atomic_fetch_sub (loc, arg);
+  return atomic_fetch_sub ((_Atomic uint32_t *)loc, arg);
 }

But problems remain with scm_atomic_set_pointer and scm_atomic_ref_pointer which use void** and is apparently not defined for use with atomics.

Apparently gcc does not have a problem with this use but I’m guessing the C11 standard may have an issue with it.

Matt


reply via email to

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