public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo dot carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/41810] Cannot build gcc: gthr-default.h:466: error: '__mutex' was not declared in this scope Date: Fri, 23 Oct 2009 18:14:00 -0000 [thread overview] Message-ID: <20091023181438.26751.qmail@sourceware.org> (raw) In-Reply-To: <bug-41810-15602@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from paolo dot carlini at oracle dot com 2009-10-23 18:14 ------- Let's CC Rainer. IMHO something is broken in gthr-solaris.h, I see: #ifdef __cplusplus #define UNUSED(x) #else #define UNUSED(x) x __attribute__((unused)) #endif ... static inline int __gthread_mutex_destroy (__gthread_mutex_t * UNUSED(__mutex)) { if (__gthread_active_p ()) return __gthrw_(mutex_destroy) (__mutex); else return 0; } which cannot be Ok when __cplusplus is defined. Not a libstdc++ proper issue. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at techfak dot uni- | |bielefeld dot de Component|libstdc++ |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41810
next prev parent reply other threads:[~2009-10-23 18:14 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-10-23 16:58 [Bug libstdc++/41810] New: " YLitvinenko at astana dot oilfield dot slb dot com 2009-10-23 17:03 ` [Bug libstdc++/41810] " YLitvinenko at astana dot oilfield dot slb dot com 2009-10-23 18:14 ` paolo dot carlini at oracle dot com [this message] 2009-11-17 19:18 ` [Bug target/41810] " alanpae at ilkda dot com 2009-11-17 19:43 ` ro at techfak dot uni-bielefeld dot de 2009-11-18 7:03 ` YLitvinenko at astana dot oilfield dot slb dot com 2009-11-18 11:18 ` ro at CeBiTec dot Uni-Bielefeld dot DE 2009-11-18 19:39 ` alanpae at ilkda dot com 2009-11-19 11:26 ` ro at CeBiTec dot Uni-Bielefeld dot DE 2009-11-19 11:55 ` jakub at gcc dot gnu dot org 2009-11-20 17:10 ` ro at CeBiTec dot Uni-Bielefeld dot DE 2009-11-20 17:17 ` ro at gcc dot gnu dot org 2009-11-27 15:17 ` ro at gcc dot gnu dot org [not found] <bug-41810-4@http.gcc.gnu.org/bugzilla/> 2011-07-18 16:25 ` ro at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20091023181438.26751.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).