"Member is not a structure or union" build failure(s)
clang 5.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 |
|
pktools | 2.6.7.1+ds-1 | Filter.h:800:52: error: member reference base type 'T *' is not a structure or union
| Log |
|
2 errors