[Kde-bindings] [Bug 242868] build fails - Multiple declaration for __rw::__rw_select_int<char>

tropikhajma tropikhajma at gmail.com
Sat Jun 26 23:01:28 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=242868


tropikhajma <tropikhajma at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from tropikhajma <tropikhajma gmail com>  2010-06-27 01:01:26 ---
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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list