FS#45356 - [boost] expected unqualified-id before ‘template’

Attached to Project: Arch Linux
Opened by Andrea Amorosi (AndreaA) - Tuesday, 16 June 2015, 22:13 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 20 December 2015, 14:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When I try to compile a program which uses boost I obtain the following error executing make:

/usr/include/boost/numeric/ublas/storage.hpp:781:9: error: expected unqualified-id before ‘template’
template <size_t N>
^
/usr/include/boost/numeric/ublas/storage.hpp:837:9: error: expected unqualified-id before ‘template’
template <size_t N>
^
/usr/include/boost/numeric/ublas/storage.hpp:842:9: error: expected unqualified-id before ‘template’
template <size_t N>


Additional info:
* package version(s)

1.58-0.2
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 20 December 2015, 14:06 GMT
Reason for closing:  Upstream
Comment by Andrea Amorosi (AndreaA) - Friday, 19 June 2015, 05:12 GMT
I've discovered that version 1.57-0.4 does not have this issue.
Comment by Andrea Amorosi (AndreaA) - Saturday, 27 June 2015, 13:35 GMT
Upstream it seems solved:
https://github.com/v4hn/ublas/commit/78eecc8bbf035c01316647839be4094748f8e77d

If it is really so, when will it reach arch linux?
Comment by Andrea Amorosi (AndreaA) - Saturday, 27 June 2015, 13:51 GMT Comment by Andrea Amorosi (AndreaA) - Saturday, 27 June 2015, 16:09 GMT
I confirm that changing that file in that way has solved my compilation issue.

Loading...