On Thu, Sep 09, 2010 at 03:07:36PM -0600, Eric Blake wrote: > I'm getting this compilation failure, and haven't had time to look into > it further yet... > > gcc -I. -I../lib -DIN_M4_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../lib > -I./../lib -g -O2 -MT test-langinfo.o -MD -MP -MF > .deps/test-langinfo.Tpo -c -o test-langinfo.o test-langinfo.c > test-langinfo.c:35: error: `T_FMT_AMPM' undeclared here (not in a function) > test-langinfo.c:35: error: initializer element is not constant > test-langinfo.c:35: error: (near initialization for `items[6]') > test-langinfo.c:84: error: `YESEXPR' undeclared here (not in a function) > test-langinfo.c:84: error: initializer element is not constant > test-langinfo.c:84: error: (near initialization for `items[53]') > test-langinfo.c:86: error: `NOEXPR' undeclared here (not in a function) > test-langinfo.c:86: error: initializer element is not constant > test-langinfo.c:86: error: (near initialization for `items[54]') > > I'm also planning on repeating these tests on Irix 6.5 (since 5.3 is > rather old at this point). > IRIX 5.3 has langinfo but lacks those 3 defines in langinfo.h. They're available in IRIX 6.x since atleast 6.2.
-tgc
