> > This is a problem a friend of my got on Redhat 7:
> >
> > iconv (in RHAT7) takes a 'char **' as the second argument, not a
> > 'const char **'. Don't ask me why, but because to this it doesn't
> > compile per default.
> >
> > The patch? Well, make src a char * or add a (char **) cast in the
> > iconv call. A better fix might be to make a configure test.
seems like it's not just RHL 7 issue. latest Glibc uses char**
instead of const char** like old one, or the current i should say.
I just happend to have glibc 2.1.3 on my system and compiler gave me
warning.
so, it'd be nice if we can fork with __GLIBC_MINOR__.
regards,
--
yashi