unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Doug Evans <xdje42@gmail.com>
To: guile-devel <guile-devel@gnu.org>
Subject: GC_VERSION_ALPHA or GC_MICRO_VERSION?
Date: Sat, 7 Jun 2014 09:21:46 -0700	[thread overview]
Message-ID: <CAP9bCMSZJw0YX3DK4Ai-0BOwW5zqPJSwvxqZEjRzdOg0w6ZwMQ@mail.gmail.com> (raw)

Hi.
I was looking into the libgc 7.4.0 "GC_MARKERS" bug,
and found that the workaround in Guile is using GC_ALPHA_VERSION
which I can't find in the bdwgc git tree, but I can find GC_VERSION_MICRO.

Since undefined preprocessor macros evaluate to zero this test will
pass for any 7.4.x.


#if (GC_VERSION_MAJOR == 7 && GC_VERSION_MINOR == 4     \
     && GC_ALPHA_VERSION == 0)
  /* BDW-GC 7.4.0 has a bug making it loop indefinitely when using
more
     than one marker thread: <https://github.com/ivmai/bdwgc/pull/30>.
     Work around it by asking for one marker thread.  */
  setenv ("GC_MARKERS", "1", 1);
#endif



             reply	other threads:[~2014-06-07 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-07 16:21 Doug Evans [this message]
2014-06-09 17:28 ` GC_VERSION_ALPHA or GC_MICRO_VERSION? Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP9bCMSZJw0YX3DK4Ai-0BOwW5zqPJSwvxqZEjRzdOg0w6ZwMQ@mail.gmail.com \
    --to=xdje42@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).