"Access to a private member" build failure(s)
clang 3.5.0
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.23.01-1 | tmp/bobcat/fswap:90:12: error: 'Xch' is a private member of 'FBB::FSwap'
| Log |
|
crystalspace | 2.0+dfsg-1.1 | ./include/csutil/hash.h:318:50: error: 'key' is a private member of 'CS::Container::HashElement'
| Log |
|
flexc++ | 2.01.00-2 | fswap:90:12: error: 'Xch' is a private member of 'FBB::FSwap'
| 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.1 | GroveBuilder.cxx:660:64: error: 'Chunk' is a private member of 'OpenSP::Chunk'
| Log |
|
ssh-cron | 0.91.03-1 | fswap:90:12: error: 'Xch' is a private member of 'FBB::FSwap'
| Log |
|
6 errors