"Access to a private member" build failure(s)
clang 10.0.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 |
kwave | 19.08.1-1 | MultiTrackReader.h:61:24: error: 'QList' is a private member of 'QList'
| Log |
|
openfoam | 1906.191111+dfsg1-2 | lnInclude/IListStream.H:161:13: error: 'List' is a private member of 'Foam::List'
| Log |
|
2 errors