[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2011-02-18 10:13:40 UTC --- Great - I guess it's up to a gthreads maintainer whether they are happy to fix the typo in the existing function name or want to fix it by adding a new

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #10 from Paolo Carlini paolo.carlini at oracle dot com 2011-02-18 17:11:58 UTC --- ... and the gthread maintainer is? (should be also in CC). Arguably, this PR could be also re-categorized as something non-libstdc++, like target or

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2011-02-18 00:16:20 UTC --- probably caused by my fix for PR 46455

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2011-02-18 00:23:32 UTC --- why is __GTHREADS defined for thread model 'single' - is that normal? and why isn't __gthread_mutex_destroy in gthr-single.h in scope?

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #3 from John David Anglin danglin at gcc dot gnu.org 2011-02-18 00:29:38 UTC --- 504 (hiauly1)dave ./xgcc -B./ -v -threads Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa1.1-hp-hpux10.20

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2011-02-18 00:32:04 UTC --- Aha! :) There's a typo in gthr-dce.h __gthread_mutx_destroy (__gthread_mutex_t *__mutex) s/mutx/mutex/

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread dave at hiauly1 dot hia.nrc.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #5 from dave at hiauly1 dot hia.nrc.ca 2011-02-18 00:38:54 UTC --- Aha! :) There's a typo in gthr-dce.h __gthread_mutx_destroy (__gthread_mutex_t *__mutex) s/mutx/mutex/ Good catch! I wonder how many years it has been

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread dave at hiauly1 dot hia.nrc.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #7 from dave at hiauly1 dot hia.nrc.ca 2011-02-18 01:00:35 UTC --- On Fri, 18 Feb 2011, redi at gcc dot gnu.org wrote: I suppose the safe thing to would be add the right signature and leave that there, but I can't imagine anyone's

[Bug libstdc++/47792] [4.6 Regression] concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope

2011-02-17 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47792 --- Comment #8 from John David Anglin danglin at gcc dot gnu.org 2011-02-18 02:50:28 UTC --- Correcting the typo fixes the error.