This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/78702] [libstdc++] class __shim in locale::facet is private
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Feb 2017 20:08:15 +0000
- Subject: [Bug libstdc++/78702] [libstdc++] class __shim in locale::facet is private
- Auto-submitted: auto-generated
- References: <bug-78702-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78702
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Feb 14 20:07:42 2017
New Revision: 245448
URL: https://gcc.gnu.org/viewcvs?rev=245448&root=gcc&view=rev
Log:
PR78702 fix accessibility of locale::facet::__shim
Backport from mainline
2017-01-16 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/78702
* include/bits/locale_classes.h (locale::facet::__shim): Change from
private to protected.
* src/c++11/cxx11-shim_facets.cc (__shim_accessor): Define helper to
make locale::facet::__shim accessible.
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/bits/locale_classes.h
branches/gcc-6-branch/libstdc++-v3/src/c++11/cxx11-shim_facets.cc