[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Guile 1.9.5 released (alpha)
From: |
Linas Vepstas |
Subject: |
Re: GNU Guile 1.9.5 released (alpha) |
Date: |
Sun, 29 Nov 2009 10:13:56 -0600 |
2009/11/29 Ludovic Courtès <address@hidden>:
> Hi,
>
> Linas Vepstas <address@hidden> writes:
>
>> --- libguile/tags.h.orig 2009-11-28 19:18:36.000000000 -0600
>> +++ libguile/tags.h 2009-11-28 19:18:52.000000000 -0600
>> @@ -110,7 +110,7 @@
>> /* 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 ___stuff___ { char scm_unused_field; } * SCM;
>
> There must be something else because this is exactly the same as in 1.8
> and 1.9.4 and Lilypond compiles with these.
Well, no, If I look at 1.8.7 I see the following in tags.h:
typedef struct scm_unused_struct * SCM;
or
typedef scm_t_bits SCM;
The struct is clearly named in this case. I did not look at 1.9.4.
I provided a very short sample program that elicits the bug ..
you can play with it. Running gcc -E on it quickly revealed
what was happening.
--linas
Re: GNU Guile 1.9.5 released (alpha), Linas Vepstas, 2009/11/28
Re: GNU Guile 1.9.5 released (alpha), Linas Vepstas, 2009/11/28