[PPL-devel] clang compilation error (ppl 1.1)
Vincent Delecroix
vincent.delecroix at labri.fr
Mon Apr 16 14:00:10 CEST 2018
Dear ppl developers,
In the frame of our python wrapper pplpy [1] that I already reported on
that list, I am facing compilation errors with clang and ppl 1.1 (on a
Ubutun trusty distribution). More precisely, the error is
{{{
In file included from ppl/linear_algebra.cpp:609:
/usr/include/x86_64-linux-gnu/ppl.hh:65043:8: error: missing
'typename' prior to dependent type template name 'OR_Matrix<T>::Pseudo_Row'
inline OR_Matrix<T>::Pseudo_Row<U>&
^
/usr/include/x86_64-linux-gnu/ppl.hh:97929:1: error: missing
'typename' prior to dependent type template name
'Determinate<PSET>::Binary_Operator_Assign_Lifter'
Determinate<PSET>::Binary_Operator_Assign_Lifter<Binary_Operator_Assign>
^
1 warning and 2 errors generated.
error: command 'clang' failed with exit status 1
}}}
Note that the same file `linear_algebra.cpp` compiles cleanly with gcc.
The full logs can be found at [2].
Any help would be appreciated.
Best,
Vincent
[1] https://github.com/videlec/pplpy
[2] https://travis-ci.org/videlec/pplpy/builds/367111806
More information about the PPL-devel
mailing list