[kde-freebsd] Qt and libc++ incompatibility

Schaich Alonso alonsoschaich at fastmail.fm
Tue May 29 12:13:33 UTC 2012


Hello

Trying to compile some c++11 portions of KDE, I ran into an issue where 
QList<T>::Iterator seems not to be qualified to become libc++'s 
std::list<T>::list(_InpIter,_InpIter, ...) _InpIter type, although it could 
also be related to the enable_if<__is_input_iterator<_InpIter>::value> type 
(I'm not familiar with the new c++ standard yet).

I have attached a reduced test to reproduce the error (test-1.cc). 
There's also a problem with incomplete/forward declaration of 
std::random_access_iterator_tag pulled in by QtCore header (test-2.cc).

Could you please take a look at this issue?

Alonso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-1.cc
Type: text/x-c++src
Size: 377 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20120529/b179bcbb/attachment.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-2.cc
Type: text/x-c++src
Size: 258 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20120529/b179bcbb/attachment-0001.cc>


More information about the kde-freebsd mailing list