JetBrains-Research / viktor

Efficient f64-only ndarray in Kotlin
MIT License
125 stars 6 forks source link

Build fails with GCC 7.3.0 #14

Closed dievsky closed 5 years ago

dievsky commented 5 years ago
/home/user/IdeaProjects/viktor/build/include/boost/simd/detail/constant_traits.hpp:67:37: error: template argument ‘V’ involves template parameter(s)
   template<bits_t<double> V> struct constantify<double,V>
                                     ^~~~~~~~~~~~~~~~~~~~~
/home/user/IdeaProjects/viktor/build/include/boost/simd/detail/constant_traits.hpp:72:54: error: template argument ‘V’ involves template parameter(s)
   template<bits_t<double> V, bits_t<float> W> struct constantify<double,V,W>
                                                      ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/IdeaProjects/viktor/build/include/boost/simd/detail/constant_traits.hpp:72:54: error: template argument ‘W’ involves template parameter(s)
/home/user/IdeaProjects/viktor/build/include/boost/simd/detail/constant_traits.hpp:77:37: error: template argument ‘V’ involves template parameter(s)
   template<bits_t<double> V> struct constantify<float,V>
                                     ^~~~~~~~~~~~~~~~~~~~
/home/user/IdeaProjects/viktor/build/include/boost/simd/detail/constant_traits.hpp:82:54: error: template argument ‘V’ involves template parameter(s)
   template<bits_t<double> V, bits_t<float> W> struct constantify<float,V,W>
                                                      ^~~~~~~~~~~~~~~~~~~~~~
/home/user/IdeaProjects/viktor/build/include/boost/simd/detail/constant_traits.hpp:82:54: error: template argument ‘W’ involves template parameter(s)

This is most likely a boost.simd issue caused by https://github.com/NumScale/boost.simd/issues/508 and will go away after we apply the appropriate patch to our fork of boost.simd.