------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2005-11-14 19:15 ------- Subject: Re: [4.1 regression] gthr-dce.h:77: error: expected expression before '{' token
> 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. It's not declared, and as far as I can tell, not available in HP-UX 10.20. pthread_keycreate is available. I don't have DCE threads installed under HP-UX 11 but the functions are pthread_key_create and pthread_key_delete for the posix threads library. > 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, I'll test it when my current build completes. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24831