"Member is not a structure or union" build failure(s)
clang 3.6.0
The following use case is failing with clang while working with g++
template
struct ContTokenizer
{
typedef typename Container::const_iterator const_iterator;
ContTokenizer(Container* cont)
{
cont.begin();
}
};
Package | Version | Supposed error message | Full log |
Bug report |
cqrlib | 1.1.2-2.1 | ./cqrlib.h:576:30: error: member reference base type 'CPPQR *' is not a structure or union
| Log |
|
kmplayer | 1:0.11.3d-2 | kmplayershared.h:217:81: error: member reference base type 'SharedData *' is not a structure or union
| Log |
|
2 errors