[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] akonadi origin/1.13 build with clang?
From:       Daniel =?ISO-8859-1?Q?Vr=E1til?= <dvratil () redhat ! com>
Date:       2015-02-06 12:33:59
Message-ID: 5748802.MXdeNU50Qu () thor
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday, January 28, 2015 08:41:27 PM René J.V. Bertin wrote:
> Hi,
> 
> Has anyone built the 1.13 akonadi branch head from git using clang 3.5
> recently? I get the error below, thankfully in a test file:
> 
> akonadi-1.13.1/server/tests/unittest/searchtest.cpp:124:30: error: no
> matching conversion for functional-style cast from 'void' to
> 'QVector<qint64>' << QVector<qint64>({ col4.id(), col5.id(), col7.id() });
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /opt/local/include/qt4/QtCore/qvector.h:121:14: note: candidate constructor
> not viable: cannot convert initializer list argument to 'int' explicit
> QVector(int size);
>              ^
> /opt/local/include/qt4/QtCore/qvector.h:123:12: note: candidate constructor
> not viable: cannot convert initializer list argument to 'const QVector<long
> long>' inline QVector(const QVector<T> &v) : d(v.d) { d->ref.ref(); if
> (!d->sharable) detach_helper(); } ^
> /opt/local/include/qt4/QtCore/qvector.h:120:12: note: candidate constructor
> not viable: requires 0 arguments, but 1 was provided inline QVector() :
> d(&QVectorData::shared_null) { d->ref.ref(); } ^
> /opt/local/include/qt4/QtCore/qvector.h:122:5: note: candidate constructor
> not viable: requires 2 arguments, but 1 was provided QVector(int size,
> const T &t);
>     ^

Thanks, should be fixed now.

Dan

> 
> 
> R
> _______________________________________________
> KDE PIM mailing list kde-pim@kde.org
> https://mail.kde.org/mailman/listinfo/kde-pim
> KDE PIM home page at http://pim.kde.org/

-- 
Daniel Vrátil | dvratil@redhat.com | dvratil on #kde-devel, #kontact, #akonadi
Software Engineer - KDE Desktop Team, Red Hat Inc.

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic