[eigen] Compilation error of TensorStorage.h with clang++ 5.0.0

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Dear Eigen developers,

I was trying out clang++ 5.0.0 and experienced the following compiler
error message coming from the (unsupported) TensorStorage.h module:

=========================================================
Eigen-3.3.4/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7:
error: class template partial specialization is not more specialized
than the primary template
      [-Winvalid-partial-specialization]
class TensorStorage<T, FixedDimensions, Options_>
      ^
Eigen-3.3.4/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63:
note: template is declared here
template<typename T, typename Dimensions, int Options_> class TensorStorage;
                                                              ^
=========================================================

This compilation error does not occur with neiter clang 3.8 nor 3.9
(nor with any g++ version).

I'd just like to report this issue to you.

Best regards,
Alex

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Alexander Voigt
Institute for Theoretical Particle Physics and Cosmology
RWTH Aachen
Sommerfeldstr. 14
52074 Aachen
Room: 28A408
Phone: +49 (0)241 80 27049
Fax  : +49 (0)241 80 22187
E-Mail: alexander.voigt@xxxxxxxxxxxxxxxxxxxxx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/