Review Request: nepomuk/services/storage/datamanagementmodel.h fix to allow compiling on apple's gcc 4.2.1

Sebastian Trueg sebastian at trueg.de
Wed Oct 5 15:16:05 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102753/#review7120
-----------------------------------------------------------

Ship it!


I am fine with this. But maybe it would be cleaner to define a typedef instead. In any case make sure you backport to the KDE/4.7 branch and also fix it in nepomuk-core.

- Sebastian Trueg


On Oct. 2, 2011, 2:13 p.m., Kurt Hindenburg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102753/
> -----------------------------------------------------------
> 
> (Updated Oct. 2, 2011, 2:13 p.m.)
> 
> 
> Review request for KDE Runtime and Nepomuk.
> 
> 
> Description
> -------
> 
> Without this patch, nepomuk won't build on MacOSX Lion w/ i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
> 
> IIRC PovAddict helped figure it out on IRC.
> 
> 
> In file included from /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.cpp:23:
> /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.h:159: error: expected ‘,’ or ‘...’ before ‘>’ token
> /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.h:191: error: expected ‘,’ or ‘...’ before ‘>’ token
> /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.h:207: error: expected ‘,’ or ‘...’ before ‘>’ token
> /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.h:159: error: wrong number of template arguments (1, should be 2)
> /opt/local/include/QtCore/qdatastream.h:66: error: provided for ‘template<class Key, class T> class QHash’
> /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.h:159: error: default argument missing for parameter 6 of ‘void Nepomuk::DataManagementModel::storeResources(const Nepomuk::SimpleResourceGraph&, const QString&, Nepomuk::StoreIdentificationMode, Nepomuk::StoreResourcesFlags, const QHash<QUrl, QVariant>&, QVariant)’
> /Volumes/ExtraHD/Projects/KDE/kde4/trunk/src/kde/kde-runtime/nepomuk/services/storage/datamanagementmodel.h:191: error: wrong number of template arguments (1, should be 2)
> 
> 
> Diffs
> -----
> 
>   nepomuk/services/storage/datamanagementmodel.h 2c26161 
> 
> Diff: http://git.reviewboard.kde.org/r/102753/diff/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Kurt Hindenburg
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20111005/36abb9cc/attachment.htm>


More information about the kde-core-devel mailing list