[Gc] [bdwgc] 7.2alpha6 fails to compile with clang (#14)

Hans Aberg haberg-1 at telia.com
Thu Mar 1 01:26:22 PST 2012


On 1 Mar 2012, at 01:43, Boehm, Hans wrote:

> That sounds like a good explanation.
> 
> You checked that word and ptr_t are defined correctly for the 64-bit setting?

The values are those that I got from preprocessing with clang in 64-bit mode, the case that failed. When you say it, they could be defined differently in the other compiles that worked, for example in 32-but mode. But 
  typedef unsigned long word;
  typedef char* ptr_t;
seems right for 64-bit mode.

Strictly speaking it is
  typedef unsigned long GC_word;
  typedef GC_word word;

Hans





More information about the Gc mailing list