Comparison warning from stl_deque.h
Alexandre Oliva
oliva@dcc.unicamp.br
Sat Oct 31 04:38:00 GMT 1998
John Yates <yates@plutotech.com> writes:
> aDeque.erase(aDeque.begin(), aDeque.end());
> when compiled with "g++ -O -Wall -c stl.cc".
> /usr/local/lib/gcc-lib/i386-unknown-freebsd/egcs-2.92.07/include/g++/stl_deque.h:1051:
> warning: comparison between signed and unsigned
Yep. Unfortunately, this is a bug in SGI STL, that egcs distributes
as-is. Although the latest development snapshots have an updated
version of SGI STL (3.11), it still produces this warning, so you may
want to report the bug to stl@sgi.com. If it is fixed there, at some
point the fix will propagate into egcs.
Not that I don't want to make the change myself; is that I'm not sure
we should do that...
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list