"Member is not a structure or union" build failure(s)
clang 3.8.1
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-3 | kmplayershared.h:217:81: error: member reference base type 'SharedData *' is not a structure or union
| Log |
|
pktools | 2.6.7-2 | Filter.h:800:52: error: member reference base type 'T *' is not a structure or union
| Log |
|
3 errors