[patch for libstdc++] Re: g++, pthreads, -D__STL_PTHREADS, and link errors

Alexandre Oliva oliva@dcc.unicamp.br
Wed Mar 31 23:54:00 GMT 1999


On Mar 17, 1999, rgarabedian@tripod.com wrote:

> The new compiler produced an internal error when trying to build the
> test program that contained some "last ditch" efforts by me to get
> the mess to build.

Thanks for your report, fixed in the last development snapshots;

On Solaris 2.5/sparc, there's a minor #include nit, that should be
fixed with the attached patch (ok to install?), but after the patch it
reports that msg<...> is not a valid declarator in line:

>    string msg<char, string_char_traits<char>, pthread_alloc>;

The line should read:

     basic_string<char....> msg;

After this fix, the code compiles and runs successfully.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
*** E-mail about software projects will be forwarded to mailing lists


More information about the Gcc-bugs mailing list