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: unassig...@gcc.gnu.org
        ReportedBy: d....@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

Reply via email to