This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3195: STL warning on Solaris with GCC 3.0
- To: Sylvain dot Pion at sophia dot inria dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, ljrittle at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Subject: Re: libstdc++/3195: STL warning on Solaris with GCC 3.0
- From: ljrittle at gcc dot gnu dot org
- Date: 15 Jun 2001 23:03:14 -0000
Synopsis: STL warning on Solaris with GCC 3.0
Responsible-Changed-From-To: unassigned->ljrittle
Responsible-Changed-By: ljrittle
Responsible-Changed-When: Fri Jun 15 16:03:14 2001
Responsible-Changed-Why:
Non-fatal issue related to one of my recent patches.
State-Changed-From-To: open->analyzed
State-Changed-By: ljrittle
State-Changed-When: Fri Jun 15 16:03:14 2001
State-Changed-Why:
This issue is not seen on solaris2.7 (the Solaris
platform used to test). Here is representative
key difference between preprocessed files:
solaris2.7:
< __gthread_mutex_t __tmp = {{{0}, 0}, {{{0}}}, {0}};
solaris2.6:
> __gthread_mutex_t __tmp = {0, 0, 0};
Alex mentioned that older Solaris headers might need
a fix up. The solution is to add a pthread.h fixup to
inclhack.def similar to solaris27_mutex_init. I
will write a proposed fixup and sent it to Sylvain
for testing.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3195&database=gcc