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

2011-08-13 Thread rixed
-[ Sat, Aug 13, 2011 at 01:26:03AM -0400, Ken Raeburn ] > ("Is for some reason invalid" is not very descriptive; please include > specific compiler messages.) Sorry ; the specific error message was, you guesssed it right: "initializer element is not constant". > That syntax -- the parenthesi

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

2011-08-13 Thread Andy Wingo
On Sat 13 Aug 2011 07:26, Ken Raeburn writes: > That syntax -- the parenthesized type followed by a list of initializers > in braces -- is called a "compound literal" (technically not a cast > expression) and was added in C99. The value of a compound literal is an > anonymous object with a value

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

2011-08-13 Thread Ken Raeburn
On Aug 13, 2011, at 08:23, Andy Wingo wrote: > I only have a draft copy of C99, from 7 September 2007, but it does > permit constant expressions to appear outside function bodies. How > could that happen except for in initializers? I do see the language in > the GCC docs though; it's confusing.

Re: Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug)

2011-08-13 Thread Thien-Thi Nguyen
() Ian Hulin () Wed, 10 Aug 2011 19:50:23 +0100 Thanks for the info, it would be useful but we need to things at run-time. We've got stuff in an initialization scheme script which is called from the Lilypond code image and this historically has done the (debug-enable 'debug) call. A