"Access to a private member" build failure(s)
clang 3.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 | 2.21.00-1 | tmp/bobcat/fswap:94:12: error: 'Xch' is a private member of 'FBB::FSwap'
| Log |
|
glob2 | 0.9.4.4-2.1 | src/AICastor.cpp:2296:23: error: 'BuildProject' is a private member of 'Game'
| Log |
|
jellyfish | 1.1.2-1 | ../jellyfish/raw_dumper.hpp:41:23: error: 'token' is a private member of 'token_ring'
| Log |
749136
|
ncmpcpp | 0.5.6-2 | ./strbuffer.h:369:38: error: 'itsTempString' is a private member of 'NCurses::basic_buffer'
| Log |
|
scribus | 1.4.0.dfsg~rc3+svn20110401-1.1 | actions.h:160:45: error: 'body' is a private member of 'desaxe::Action'
| Log |
753277
|
scribus-ng | 1.4.0.dfsg~rc2-1.1 | actions.h:160:45: error: 'body' is a private member of 'desaxe::Action'
| Log |
|
6 errors