Problems with stl_vector and GCC 2.95.2 19991024

Geoff Keating geoffk@geoffk.com
Tue Nov 7 14:02:00 GMT 2000


Joe Buck <jbuck@racerx.synopsys.com> writes:

> Conclusion: don't use the <stl/...> headers directly, they are internal
> details.

For glibc, we found it helpful (in reducing wrong bug reports) to do
stuff like

#if !defined (_VECTOR_H)
#error please do not include <stl/vector.h> directly, use <vector.h>
#endif

-- 
- Geoffrey Keating <geoffk@geoffk.org>


More information about the Gcc mailing list