This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/49020] New: Invalid std::strchr prototype in cstring
- From: "d.v.a at ngs dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 May 2011 11:56:29 +0000
- Subject: [Bug libstdc++/49020] New: Invalid std::strchr prototype in cstring
- Auto-submitted: auto-generated
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