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 libstdc++/33734] iconv_t must not be assumed to be a pointer



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-10-11 10:26 -------
It cannot be a coumpounded type because of the definition of iconv_open which
says it returns -1 for a falure.

"
Otherwise iconv_open() returns (iconv_t)-1 and sets errno to indicate the
error.
"
>From http://www.opengroup.org/onlinepubs/007908799/xsh/iconv_open.html

Thanks,
Andrew Pinski


-- 


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


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