"Member is not a structure or union" build failure(s)
clang 3.4
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 | ./cqrlib.h:576:30: error: member reference base type 'CPPQR *' is not a structure or union
| Log |
|
magics++ | 2.18.15-5 | ./Netcdf.h:138:70: error: member reference base type 'map *> *' is not a structure or union
| Log |
|
suphp | 0.7.1-3.1 | ./SmartPtr.hpp:153:13: error: member reference base type 'SmartPtr *' is not a structure or union
| Log |
|
3 errors