Re: Now that SCM type is a union...

2011-08-12 Thread Ken Raeburn
On Aug 12, 2011, at 08:44, ri...@happyleptic.org wrote: > Between stable-2.0 and master a patch changed the C representation > of the SCM type so that it is now a union. > > This code : > > static SCM foo = SCM_UNSPECIFIED; > > now expands to something similar to : > > static SCM foo = (SCM) {

Now that SCM type is a union...

2011-08-12 Thread rixed
Between stable-2.0 and master a patch changed the C representation of the SCM type so that it is now a union. This code : static SCM foo = SCM_UNSPECIFIED; now expands to something similar to : static SCM foo = (SCM) { ... }; This form (casting a struct or union initializer while initializing