This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug preprocessor/47549] -save-temps and -finput-charset= causing 'cc1.exe: error: failure to convert gbk to UTF-8'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47549

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|driver                      |preprocessor

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-31 20:08:24 UTC ---
>cc1: error: failure to convert gbk to UTF-8

The preprocessor is only really know how to convert UTF-8 to/from UTF16/32
LE/BE without the help from the host's iconv.

Your host's iconv is what is failing to do the conversion.  I doubt this is a
GCC bug.


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