FS#49102 - [grantlee-qt5] Uses invalid >> in template constructs

Attached to Project: Arch Linux
Opened by Gaetan Bisson (vesath) - Tuesday, 26 April 2016, 19:45 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 07 May 2016, 06:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Building the new upstream release against grantlee-qt5 gives:

usr/include/grantlee/context.h:236:31: error: '>>' should be '> >' within a nested template argument list
QList<QPair<QString, QString>> externalMedia() const;
^

usr/include/grantlee/engine.h:140:46: error: '>>' should be'> >' within a nested template argument list
QList<QSharedPointer<AbstractTemplateLoader>> templateLoa
ers();
^
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 07 May 2016, 06:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcc 6.1.1
Comment by Antonio Rojas (arojas) - Tuesday, 26 April 2016, 20:54 GMT Comment by Gaetan Bisson (vesath) - Thursday, 28 April 2016, 02:13 GMT
Indeed I meant subsurface. Any chance you could fix this with a quick sed in our grantlee-qt5 package? I can't think of an easy way I can work around it from the subsurface PKGBUILD.
Comment by Antonio Rojas (arojas) - Thursday, 28 April 2016, 07:06 GMT
Please test 5.1.0-2
Comment by Gaetan Bisson (vesath) - Friday, 29 April 2016, 01:14 GMT
Excellent, thanks. I'll push the new subsurface to [community] as soon as it's built. Feel free to move the new grantlee anytime.
Comment by Antonio Rojas (arojas) - Saturday, 07 May 2016, 06:55 GMT
FYI, I've reverted this in 5.1.0-3 since it's not an issue anymore with C++14, which is the default in GCC6

Loading...