Re: iconv: more pain


Subject: Re: iconv: more pain
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Mon Aug 20 2001 - 13:27:59 CDT


Quoting David Mandelin <mandelin@cs.wisc.edu>:

> Dom Lachowicz wrote:
> >
> > 1) I've made my proposed change to UT_iconv which should handle the
> const_cast
> > properly on all compilers and iconv implementations. Should be fixed
> now, but if
> > this breaks for anyone, please tell me
>
> It breaks MSVC 6 and gcc2.95.3-5. On MSVC, "ut_iconv.cpp(143) : error
> C2664: 'iconv' : cannot convert parameter 2 from 'char ** ' to 'const
> char ** ' Conversion loses qualifiers". On gcc, "initialization to
> `const char **' from `char **' adds cv-quals without intervening
> `const'".

Ok, this might or might not be fixed for everyone now. I also committed fixes
for some high 1800 bugs whose numbers escape me now. Please cvs update and let
me know how things go.

Dom



This archive was generated by hypermail 2b25 : Mon Aug 20 2001 - 13:28:02 CDT