This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: libiconv for windres


Hi,

> This still needs to be fixed:
> 
> cc1.exe: warnings being treated as errors
> ../../src/binutils/winduni.c: In function 'wind_MultiByteToWideChar':
> ../../src/binutils/winduni.c:636: warning: unused variable 'used_def'
> make[4]: *** [winduni.o] Error 1

Thanks for reviewing. I removed this unused variable.

2007-06-05  Kai Tietz  <Kai.Tietz@onevision.com>

        * binutils/Makefile.am: Add LIBICONV to windres.
        * binutils/acinclude.m4: Added missing "lib-*.m4" and
        "lt*.m4" files.
        * binutils/configure.in: Add AC_CHECK_HEADER for
        iconv.h and use AM_ICONV.
        * binutils/config.in: Add ICONV defines.
        * binutils/aclocal: Regenerate.
        * binutils/confugure: Likewise.
        * binutils/winduni.c: (local_iconv_map codepages,
        wind_language_t languages, unicode_is_valid_codepage,
        wind_find_language_by_id, wind_find_language_by_codepage,
        wind_find_codepage_info, unicode_from_codepage,
        codepage_from_unicode, iconv_onechar, wind_iconv_cp,
        wind_MultiByteToWideChar wind_WideCharToMultiByte):
        New.
        (ascii_from_unicode): Use codepage_from_unicode.
        (ascii_from_unicode): Use unicode_from_codepage.
        Use for cygwin windows API for unicode transformation.
        * binutils/winduni.h: (CP_ACP, CP_UTF7, CP_UTF8,
        CP_OEM, CP_UTF16): New macros.
        (wind_language_t, local_iconv_map): New types.
        (wind_find_language_by_id, wind_find_language_by_codepage,
        unicode_is_valid_codepage, wind_find_codepage_info,
        unicode_from_codepage, codepage_from_unicode): New
        prototypes.

Cheers,
 i.A. Kai Tietz



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer: 
Ulrike DÃhler, Manuela Kluger

Attachment: wind_uni.txt
Description: Text document


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