"Unqualified lookup into dependent bases of class templates" build failure(s) — clang 10.0.0
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 |
|---|---|---|---|---|
| netxx | 0.3.2-2 | Netbuf.h:116:5: error: use of undeclared identifier 'setp' | Log | |
| veyon | 4.3.1+repack1-2 | vncviewer.c:103:20: error: use of undeclared identifier 'SIZE_MAX' | Log | |
| vifm | 0.10.1-3 | abbrevs/suite.c:5:1: error: use of undeclared identifier 'stic_setup_once_func' | Log |
3 errors