https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78872
Bug ID: 78872 Summary: g++ refuses const trailing a function declaration. Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jmichae3 at yahoo dot com Target Milestone: --- #include <string> #include <cctype> #include <locale> #include <uchar.h> namespace std { int locale::icompare(const char_type* low1, const char_type* high1, const char_type*low2, const char_type* high2) const; };