"Unqualified lookup into dependent bases of class templates" build failure(s) — clang 3.8.1
This problem is that g++ accepts code which should be refused. g++ is doing an unqualified lookup into dependent bases of class templates. See the official website.#include <vector> templateclass A: public std::vector { public: void del() { // The right syntax is: // this->erase(std::vector ::begin()); erase(std::vector ::begin()); } }; void foo() { A B; B.del(); }
| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| adanaxisgpl | 1.2.5.dfsg.1-6 | ./Mushcore/MushcoreSingleton.h:86:5: error: use of undeclared identifier 'SingletonPtrSet' | Log | |
| clementine | 1.3.1+dfsg-1 | type_traits:337:39: error: use of undeclared identifier '__float128' | Log | |
| kadu | 3.0-1.1 | wchar2.h:291:14: error: use of undeclared identifier '__builtin_va_arg_pack' | Log | |
| lostirc | 0.4.6-4.1 | refptr.h:82:70: error: use of undeclared identifier 'nullptr' | Log | |
| moonshot-gss-eap | 0.9.5-2 | util_shib.cpp:126:5: error: use of undeclared identifier 'unique_ptr' | Log | |
| mozc | 2.18.2595.102+dfsg-1 | ../../base/mutex.cc:165:3: error: use of undeclared identifier 'static_assert'; did you mean 'static_cast'? | Log | |
| netxx | 0.3.2-2 | Netbuf.h:116:5: error: use of undeclared identifier 'setp' | Log | |
| pcb2gcode | 1.1.4-git20120902-1.1 | refptr.h:82:70: error: use of undeclared identifier 'nullptr' | Log | |
| postal | 0.74 | ./smtp.h:28:58: error: use of undeclared identifier 'hash' | Log | |
| qtmultimedia-opensource-src | 5.6.1-2 | qgstreamerbushelper.cpp:55:25: error: use of undeclared identifier 'nullptr' | Log | |
| sga | 0.10.14-3 | overlap-long.cpp:202:5: error: use of undeclared identifier 'omp_set_num_threads' | Log | |
| spaced | 1.0.2+dfsg-1 | ./sort.h:372:10: error: use of undeclared identifier 'omp_get_thread_num' | Log |
12 errors