This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with stl_vector and GCC 2.95.2 19991024



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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]