This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24831] [4.1 regression] gthr-dce.h:77: error: expected expression before '{' token
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2005 13:55:01 -0000
- Subject: [Bug target/24831] [4.1 regression] gthr-dce.h:77: error: expected expression before '{' token
- References: <bug-24831-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from aoliva at gcc dot gnu dot org 2005-11-14 13:55 -------
So is pthread_key_delete not declared in HP-UX's DCE headers? Is it actually
the correct spelling, or have we always had a harmless typo in gthr-dce.h? It
looks suspicious because pthread_keycreate doesn't have the second underscore.
Anyhow, it seems to me like we could simply remove or comment out the
pthread_key_delete line, since this function is not used anywhere.
Could you please test such a change? Thanks,
--
aoliva at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24831