"Access to a private member" build failure(s) — clang 3.3
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 |
|---|---|---|---|---|
| bobcat | 3.14.00-1 | tmp/bobcat/fswap:94:12: error: 'Xch' is a private member of 'FBB::FSwap' | Log | |
| crystalspace | 2.0+dfsg-1 | ./include/csutil/hash.h:318:50: error: 'key' is a private member of 'CS::Container::HashElement | Log | |
| flexc++ | 1.05.00-1 | 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 | |
| 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 | |
| squid3 | 3.3.4-1 | area.h:60:77: error: 'does_not_support_comparisons' is a private member of 'libecap::Area' | 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