"Access to a private member" build failure(s)
clang 3.4
This code is accepted by g++ but refused by clang.
gcc bug #52373 has been reported, which is a duplicate of the
bug #41437.
class A
{
struct st
{
static void f();
};
};
template <typename t> void foo()
{
A::st::f();
}
Package | Version | Supposed error message | Full log |
Bug report |
bobcat | 3.19.01-1 | tmp/bobcat/fswap:90:12: error: 'Xch' is a private member of 'FBB::FSwap'
| Log |
|
flexc++ | 1.08.00-1 | fswap:90:12: error: 'Xch' is a private member of 'FBB::FSwap'
| Log |
|
glob2 | 0.9.4.4-2.2 | src/AICastor.cpp:2296:23: error: 'BuildProject' is a private member of 'Game'
| Log |
|
libecap | 0.2.0-1 | ../../../src/libecap/common/area.h:60:77: error: 'does_not_support_comparisons' is a private member of 'libecap::Area'
| Log |
|
openjade | 1.4devel1-21 | GroveBuilder.cxx:660:64: error: 'Chunk' is a private member of 'OpenSP::Chunk'
| Log |
|
5 errors