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: "hiraditya at msn dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Dec 2016 19:40:50 +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 #3 from AK <hiraditya at msn dot com> ---
llvm-project/install/bin/clang++ -std=gnu++14 -D_GLIBCXX_SHARED
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=cxx11-shim_facets.lo -c ../../../src/c++11/cxx11-shim_facets.cc
-fPIC -DPIC -D_GLIBCXX_SHARED -o cxx11-shim_facets.o (+ some include flags from
Makefile)
../../../src/c++11/cxx11-shim_facets.cc:230:60: error: '__shim' is a private
member of 'std::locale::facet'
struct numpunct_shim : std::numpunct<_CharT>, facet::__shim
^
~/s/work/gcc/libstdc++-v3/build/include/bits/locale_classes.h:464:11: note:
declared private here
class __shim;
clang version 4.0.0
Target: x86_64-unknown-linux-gnu