Summary: | build fails - Multiple declaration for __rw::__rw_select_int<char> | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | tropikhajma <tropikhajma> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
tropikhajma
2010-06-26 14:10:22 UTC
Seems like a compiler issue to me. You could look into /usr/include/stdcxx4/rw/_select.h and see what's defining that __rw::__rw_select_int<char> and why it is defined twice. Maybe we're missing a special Solaris #define somewhere. mmm, actually it comes from the line _RWSTD_SPECIALIZE_IS_INT (bool); in _select.h IMO due to a buggy approach of perl, bool gets redefined as char in /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/handy.h: #ifdef __GNUG__ /* GNU g++ has bool built-in */ # ifndef HAS_BOOL # define HAS_BOOL 1 # endif #endif ... #ifndef HAS_BOOL # if defined(UTS) || defined(VMS) # define bool int # else # define bool char # endif # define HAS_BOOL 1 #endif so it's not a KDE problem |