Environment:
Windows10 64-bit
MSYS2 MinGW 64-bit
gcc.exe (Rev1, Built by MSYS2 project) 8.2.1 20181207
Task:
Doing a build that relies on Eigen3:
#include <Eigen/Core>
#include <Eigen/Sparse>
int main () { return 0; }
Error:
C:/msys64/mingw64/include/eigen3/Eigen/src/SparseCore/SparseBlock.h: In member function 'Eigen::internal::sparse_matrix_block_impl<SparseMatrixType, BlockRows, BlockCols>::BlockType& Eigen::internal::sparse_matrix_block_impl<SparseMatrixType, BlockRows,
BlockCols>::operator=(const BlockType&)':
C:/msys64/mingw64/include/eigen3/Eigen/src/SparseCore/SparseBlock.h:216:33: error: expected primary-_expression_ before '>' token
return operator=<BlockType>(other);
^ |