"Member is not a structure or union" build failure(s) — clang 4.0.1
The following use case is failing with clang while working with g++templatestruct 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 | 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