"Unqualified lookup into dependent bases of class templates" build failure(s) — clang 9.0.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.
The attached code clearly shows the issue and the fix:
#include <vector>

template class 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();	
}
PackageVersionSupposed error messageFull log Bug report
freefem++ 3.61.1+dfsg1-5AFunction.cpp:43:36: error: use of undeclared identifier 'isnan' Log
netxx 0.3.2-2Netbuf.h:116:5: error: use of undeclared identifier 'setp' Log
vifm 0.10.1-3abbrevs/suite.c:5:1: error: use of undeclared identifier 'stic_setup_once_func' Log

3 errors