------- 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