"Access to a private member" build failure(s)
clang 3.2
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.01.00-1 | tmp/bobcat/fswap:94:12: error: 'Xch' is a private member of 'FBB::FSwap'
| Log |
|
flexc++ | 1.03.01-1 | fswap:94: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 |
|
ncmpcpp | 0.5.10-1.1 | ./strbuffer.h:369:38: error: 'itsTempString' is a private member of 'NCurses::basic_buffer'
| Log |
|
scribus | 1.4.0.dfsg+r17300-1.1 | actions.h:160:45: error: 'body' is a private member of 'desaxe::Action'
| Log |
753277
|
serna-free | 4.3.0.20110221-7.1 | RadixTree.h:271:34: error: 'countTreeNodes' is a private member of 'RadixTreePrivate::RTNode'
| Log |
|
tellico | 2.3.5+dfsg.1-4 | fetcherinitializer.h:66:14: error: 'FetcherFunction' is a private member of 'Tellico::Fetch::Manager'
| Log |
|
7 errors