"Unqualified lookup into dependent bases of class templates" build failure(s) — clang 3.4

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
adanaxisgpl 1.2.5.dfsg.1-5./Mushcore/MushcoreSingleton.h:86:5: error: use of undeclared identifier 'SingletonPtrSet' Log
calligra 1:2.7.5-1RTree.h:317:23: error: use of undeclared identifier 'T' Log
clementine 1.2.0+dfsg-2type_traits:269:39: error: use of undeclared identifier '__float128' Log
galib 2.4.7-3../../ga/../ga/GA1DArrayGenome.C:225:3: error: use of undeclared identifier 'initializer' Log 753259
gamera 3.3.3-2GA1DArrayGenome.C:225:3: error: use of undeclared identifier 'initializer'; did you mean 'GA1DBinaryStringGenome::initializer'? Log
gnuift 0.1.14-12perl-compile-test-program.cc:71:3: error: use of undeclared identifier 'my_perl' Log
icu 52.1-3type_traits:269:39: error: use of undeclared identifier '__float128' Log
meshlab 1.3.2+dfsg1-1src/Geometry.inl:350:10: error: use of undeclared identifier 'printf' Log
mupen64plus-video-glide64 2.0.0-1:189:17: error: use of undeclared identifier '__builtin_ia32_loadups' Log
netxx 0.3.2-2Netbuf.h:116:5: error: use of undeclared identifier 'setp' Log
python-biom-format 1.2.0-1python-code/support-code/sparsemat_lib.h:17:37: error: use of undeclared identifier 'uint64_t' Log
step 4:4.11.3-1SparseTranspose.h:74:9: error: use of undeclared identifier 'MatrixType' Log

12 errors