This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

error in utf-16.c



Compiling for MIPS/Linux I receive this error message:
../iconv/skeleton.c: In function `gconv':
In file included from utf-16.c:347:
../iconv/skeleton.c:310: `dir' undeclared (first use in this function)
../iconv/skeleton.c:310: (Each undeclared identifier is reported only once
../iconv/skeleton.c:310: for each function it appears in.)
make[2]: *** [/home/aj/build-glibc-mips/iconvdata/utf-16.os] Error 1

The problem is that PREPARE_LOOP declares a variable dir which is used
in FROM_DIRECTION - but FROM_DIRECTION is used first in skeleton.c.

I couldn't find a direct way to fix this without breaking other
things:-(.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]