[kde-freebsd] KDE4 error compiling kdelibs4

Adriaan de Groot groot at kde.org
Fri Jun 20 11:27:37 CEST 2008


On Friday 20 June 2008, Georgi Georgiev wrote:
> /usr/home/usr/ports/x11/kdelibs4/work/kdelibs-4.0.80/phonon/lockfreequeue.c
>pp:217:     instantiated from here
> /usr/local/include/QtCore/qatomic_generic.h:227: error: lvalue required as
>   unary '&' operand

Known issue - there's an extra & in there. 
Edit /usr/local/include/QtCore/qatomic_generic.h and change 

	&reinterpret_cast<void * volatile *>

to

	reinterpret_cast<void * volatile *>


It's only in the generic atomic code which we'd want to avoid anyway, fixed in 
Qt 4.4.1 already, and doesn't show up for everyone's build: I did *not* hit 
that compile error the last time I went through kdelibs4.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20080620/80025c8a/attachment.pgp 


More information about the kde-freebsd mailing list