This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Strange behaviour of strchr in C++
Paolo Carlini wrote:
Mateusz Åoskot wrote:
By the way, should it be reported to libstdc++ bugzilla?
I don't think so, really. The problem (and its relatives) is very well
known, basically is subsumed by libstdc++/6257.
Do you mean this report as 6257?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6257
> Also, AFAIK, there are
hopes that the next standard will make the life easier to the
implementors wrt this kind of issues.
So, what is a recommended way of handling this issue today?
I mean, is it bettern to not to use C version of strchr in
C++ programs even if g++ allows to use it?
Cheers
--
Mateusz Åoskot
http://mateusz.loskot.net