"Access to a private member" build failure(s) — clang 2.9
This code is accepted by g++ but refused by clang.
class A
{
struct st
{
static void f();
};
};
template <typename t> void foo()
{
A::st::f();
}
| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| cvc3 | 2.2-13.1 | rational-gmp.cpp:249:61: error: 'Impl' is a private member of 'CVC3::Rational' | Log | |
| glob2 | 0.9.4.4-2.1 | src/AICastor.cpp:2296:23: error: 'BuildProject' is a private member of 'Game' | Log | |
| 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 | actions.h:160:45: error: 'body' is a private member of 'desaxe::Action' | Log | 753277 |
| scribus-ng | 1.4.0.dfsg~rc2-1 | actions.h:160:45: error: 'body' is a private member of 'desaxe::Action' | Log | |
| skrooge | 0.9.92-1 | skgmainpanel.h:96:52: error: 'operator QString' is a private member of 'KUrl' | Log | |
| tellico | 2.3.3-1 | fetcherinitializer.h:66:14: error: 'FetcherFunction' is a private member of 'Tellico::Fetch::Manager' | Log |
7 errors