unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* GC_VERSION_ALPHA or GC_MICRO_VERSION?
@ 2014-06-07 16:21 Doug Evans
  2014-06-09 17:28 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2014-06-07 16:21 UTC (permalink / raw)
  To: guile-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-09 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-07 16:21 GC_VERSION_ALPHA or GC_MICRO_VERSION? Doug Evans
2014-06-09 17:28 ` Ludovic Courtès

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).