In ext/new_allocator.h and a few other files that declare things in namespace __gnu_cxx, size_t and ptrdiff_t are missing a std::. I know it does not break anything for a standard use, but such corrections will be necessary in order to clean the global namespace for systems like glibc or solaris where it is possible. Besides, there are files like bitmap_allocator.h where half the occurences of size_t have std:: in front and not the others.
Thanks to people who work on g++, great tool. -- Summary: ptrdiff_t and size_t outside of namespace std Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27199