bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] [Q] How do I remove compilation errors on MinGW?


From: Daiki Ueno
Subject: Re: [bug-gettext] [Q] How do I remove compilation errors on MinGW?
Date: Wed, 27 Mar 2013 15:31:03 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Deep-Impact" <address@hidden> writes:

>> I still couldn't reproduce this (by cross compiling), but the error
>> looks similar to the "extern inline" issue[1].  Could you provide
>> wctype.h generated on your environment?
>
> Please find attached the file.  Do I have to use an older GCC? (it
> seems difficult...)

Thanks, I got it.

When compiling wctype-h.c, rpl_towlower/rpl_towupper are emitted through
gettext-tools/gnulib-lib/wctype.h, since they are defined as "extern
inline".

However, wctype.h is also included by libxml/parser.c, through
libiconv's iconv.h and wchar.h.  Which is causing multiple definition.

I'll try to find a better solution, but a workaround is to use win-iconv
(whose iconv.h does not include wchar.h) instead of libiconv:
https://code.google.com/p/win-iconv/

Regards,
-- 
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]