"Member is not a structure or union" build failure(s) — clang 2.9
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 |
|---|---|---|---|---|
| calf | 0.0.18.6-3 | ./calf/buffer.h:156:20: error: member reference base type 'const data_type *' (aka 'const typename T::data_type *') is not a structure or union | Log | |
| cqrlib | 1.1.2-1 | ./cqrlib.h:576:31: error: member reference base type 'CPPQR | Log | |
| kmplayer | 1:0.11.2c-1 | kmplayershared.h:217:82: error: member reference base type 'SharedData | n/a | |
| lmms | 0.4.10-2 | buffer.h:156:20: error: member reference base type 'const data_type *' (aka 'const typename T::data_type *') is not a structure or union | Log | |
| meshlab | 1.3.0a+dfsg1-2 | ../../../vcglib/vcg/simplex/face/pos.h:217:24: error: member reference base type 'typename FaceType::FaceType *const' is not a structure or union | Log | |
| mimetic | 0.9.7-1 | ../../mimetic/tokenizer.h:143:52: error: member reference base type 'const Container *' is not a structure or union | Log | |
| suphp | 0.7.1-1 | ./SmartPtr.hpp:153:14: error: member reference base type 'SmartPtr | Log |
7 errors