This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Error in stl_bvector.h and vector.tcc
- From: "Gabriel Dos Reis" <gdr at acm dot org>
- To: Sabba dot Hillel at verizon dot net
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 9 Jun 2004 07:30:22 +0200 (CEST)
- Subject: Re: Error in stl_bvector.h and vector.tcc
- References: <20040608195221.LCWQ3317.out006.verizon.net@outgoing.verizon.net>
- Reply-to: gdr at acm dot org
You Wrote Hillel Markowitz
> While trying to compile code which handles vectors using gcc-3.4.0, I
> found compile errors in <GCC_ROOT>/include/c++/3.4.0/bits in files
> stl_bvector.h and vector.tcc
>
> Both sets of code used std::max which failed, but compiled successfully
> when the reference was changed to max
If that is the case, then fill proper bug report. std::max
is the way to go -- and if it does not work then, please, provide
more information so that we can reproduce and fix the problem.