[Bug libstdc++/36211] __iconv_adaptor chooses char** where const char** is required

tprince at computer dot org gcc-bugzilla@gcc.gnu.org
Sun May 11 17:27:00 GMT 2008



------- Comment #3 from tprince at computer dot org  2008-05-11 17:26 -------
I see that the failing case is looking for a libiconv in the library to match
the char ** prototype, and failing to find one, while the one in the actual
library is set up for the const char ** version.  The comment in
codecvt_specializations.h indicates this should be taken care of by 
__iconv_adaptor, yet the link failure shows this is not working.
I don't understand the usage well enough to know what to conclude, why some
cases (do they also exercise __iconv_adaptor ?) work, while the unicode.cc
cases fail to link at that point.
This problem has been brought up by others in mail lists, but as far as I know
no one wrote up a PR.


-- 


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



More information about the Gcc-bugs mailing list