Bug 315403 - Compile error: "agents/nepomukfeeder/nepomukfeederagent.cpp:66: error: using 'typename' outside of template"
Summary: Compile error: "agents/nepomukfeeder/nepomukfeederagent.cpp:66: error: using ...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Nepomuk Feeder Agents (show other bugs)
Version: 4.10
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 18:26 UTC by Martin Walch
Modified: 2013-03-09 11:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2013-02-18 18:26:21 UTC
kdepim-runtime-4.10.0 can not be compiled with gcc 4.4.7. It complains:

agents/nepomukfeeder/nepomukfeederagent.cpp:66: error: using 'typename' outside of template

line 66 is

typedef QSharedPointer< QMultiHash< typename Akonadi::Collection::Id,  typename Akonadi::Item::Id> > MultiHashPointer;

This has been introduced with commit 1b2444ff93ccd74fd35ed93366ef18157803434e "Stay away from nested event-loops."

Reproducible: Always




gcc (Gentoo 4.4.7 p1.1, pie-0.4.5) 4.4.7
Comment 1 Marko Käning 2013-03-09 10:41:05 UTC
Same here on MacOSX trying to upgrade to KDE 4.10.1.