"Unqualified lookup into dependent bases of class templates" build failure(s) — clang 11.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 |
|---|---|---|---|---|
| vifm | 0.10.1-4 | abbrevs/suite.c:5:1: error: use of undeclared identifier 'stic_setup_once_func' | Log |
1 errors