Re: Bogus gl_C_COMPOUND_LITERALS test

2008-06-24 Thread Bruno Haible
Andreas Schwab <[EMAIL PROTECTED]> wrote: > > The gl_C_COMPOUND_LITERALS test can never succeed, since the test > > program is invalid C. A compound literal is never a constant > > expression, thus cannot be used to initialize a static variable. Thanks for the patch. Since it's not obvious that t

Re: Bogus gl_C_COMPOUND_LITERALS test

2008-06-24 Thread Jim Meyering
Andreas Schwab <[EMAIL PROTECTED]> wrote: > The gl_C_COMPOUND_LITERALS test can never succeed, since the test > program is invalid C. A compound literal is never a constant > expression, thus cannot be used to initialize a static variable. Hi Andreas, Thanks for the patch. It looks fine. Howeve

Bogus gl_C_COMPOUND_LITERALS test

2008-06-24 Thread Andreas Schwab
The gl_C_COMPOUND_LITERALS test can never succeed, since the test program is invalid C. A compound literal is never a constant expression, thus cannot be used to initialize a static variable. Andreas. 2008-06-24 Andreas Schwab <[EMAIL PROTECTED]> * m4/getdate.m4 (gl_C_COMPOUND_LITERAL