Ludovic Courtès escreveu:
> Hi,
> 
> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
> 
>> i686-mingw32-gcc -mms-bitfields -DHAVE_CONFIG_H 
>> -I/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git -I.. 
>> -I/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/lib -I../lib -Wall 
>> -Wmissing-prototypes -g -O2 -MT libguile_i18n_v_0_la-i18n.lo -MD -MP -MF 
>> .deps/libguile_i18n_v_0_la-i18n.Tpo -c 
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/i18n.c  
>> -DDLL_EXPORT -DPIC -o .libs/libguile_i18n_v_0_la-i18n.o
>> In file included from 
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/i18n.c:296:
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:
>>  In function 'get_current_locale_settings':
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:24:
>>  error: 'LC_MESSAGES' undeclared (first use in this function)
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:24:
>>  error: (Each undeclared identifier is reported only once
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:24:
>>  error: for each function it appears in.)
> 
> Can you try out the attached patch?

Seems to work. 

Next problem: 

In file included from 
/home/lilydev/vc/gub/target/mingw/root/usr/include/sys/time.h:3,
                 from ../libguile/scmconfig.h:25,
                 from 
/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/__scm.h:52,
                 from 
/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile.h:30,
                 from 
/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/discouraged.c:22:
../lib/time.h:76: error: expected ';', ',' or ')' before '__timer'
../lib/time.h:78: error: expected ';', ',' or ')' before '__timer'

This is 7ddb9baf80744f0ea4810c35b465d96f4833875, with your patch on top. 

Curiously, the same location in uncompiled source (my guile devel
directory) has an #if 0 rather than #if 1 around the code.



-- 
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen



Reply via email to