This is the mail archive of the gcc-bugs@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: problem with vector<unsigned int>


Stephen Vavasis <vavasis@CS.Cornell.EDU> writes:

> I think there is a problem with class std::vector<unsigned int> in in
> EGCS 1.1.

Actually, the problem is in the template constructor of the template
class vector, in the SGI STL version bundled with egcs 1.1.  This is
fixed in the latest release of SGI STL, that is available with the
latest development snapshots of egcs.  Unfortunately, this problem is
not likely to be fixed in egcs 1.1.1 :-(

>   vector<unsigned int> a(j, 0);

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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