You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to build linbox 1.5.2 on an x86_64 Fedora Rawhide machine with g++ 8.0.1:
In file included from ../../linbox/matrix/densematrix/blas-matrix.h:54,
from ../../linbox/matrix/dense-matrix.h:79,
from ../../linbox/algorithms/rational-solver.h:43,
from ../../linbox/algorithms/diophantine-solver.h:29,
from diophantine-solver.C:26:
../../linbox/matrix/densematrix/blas-transposed-matrix.h:74:8: error: too many template-parameter-lists
class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public Matrix {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The code there reads:
#if !defined(__INTEL_COMPILER) && !defined(__CUDACC__) & !defined(__clang__)
template <>
#endif
template< class Matrix >
class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public Matrix {
Apparently g++ 8.0.1 also does not want that "template <>". Removing it results in a successful build.
Also, note that the #if line contains a single ampersand where a double ampersand should be used.
The text was updated successfully, but these errors were encountered:
yuliswe
pushed a commit
to yuliswe/linbox
that referenced
this issue
Jun 5, 2018
Attempting to build linbox 1.5.2 on an x86_64 Fedora Rawhide machine with g++ 8.0.1:
The code there reads:
Apparently g++ 8.0.1 also does not want that "template <>". Removing it results in a successful build.
Also, note that the #if line contains a single ampersand where a double ampersand should be used.
The text was updated successfully, but these errors were encountered: