AvtechScientific / ASL

Advanced Simulation Library - hardware accelerated multiphysics simulation platform.
http://asl.org.il
GNU Affero General Public License v3.0
217 stars 55 forks source link

FTBFS: error: expected unqualified-id before 'sizeof' #22

Closed ghisvail closed 8 years ago

ghisvail commented 8 years ago

Forwarded from Debian-Bug #822469.

We are using g++ 5.3.1 and Boost 1.58 at the moment.

AvtechScientific commented 8 years ago

Did you try the current master branch? It should have been fixed some time ago...

ghisvail commented 8 years ago

We (Debian) prefer working with official releases rather than snapshots. Please consider tagging a bugfix release or just point me to the relevant commit which addresses this issue so it can be cheery-picked to the current release. Thanks.

AvtechScientific commented 8 years ago

Please, try this commit:

https://github.com/AvtechScientific/ASL/commit/003be03b67a818138e0f7590b32932feb3c323c5

ghisvail commented 8 years ago

Cherry-picking this commit fixed the issue. Thanks.

AvtechScientific commented 8 years ago

Do you still face the issue with POCL (#16) on Debian?

ghisvail commented 8 years ago

I have not tried since. Debian is slowly updating pocl to the latest upstream, so I should give it another go once work on the packaging settles.