[Bug libstdc++/49020] New: Invalid std::strchr prototype in cstring
d.v.a at ngs dot ru
gcc-bugzilla@gcc.gnu.org
Tue May 17 12:05:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49020
Summary: Invalid std::strchr prototype in cstring
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.v.a@ngs.ru
Shall be
const char *strchr(const char * , int );
char *strchr(char * , int );
according to Standard.
But we have
char *strchr(char * , int );
and invalid
char *strchr(const char * , int );
from string.h
More information about the Gcc-bugs
mailing list