quadiron icon indicating copy to clipboard operation
quadiron copied to clipboard

Failed to compile w/o SIMD on MacOs

Open lamphamsy opened this issue 7 years ago • 0 comments

  • Branch: master
  • Mode: Debug or Release
  • SIMD: off

I got following errors on MacOs:

/Scality/WorkingSpace/SourceCodes/IronMan/vr/ntl/src/simd/definitions.h:87:22: error: unknown type name '__m128'
using RegisterType = __m128;
                     ^
/Scality/WorkingSpace/SourceCodes/IronMan/vr/ntl/src/simd/definitions.h:88:18: error: unknown type name '__m128i'
using MaskType = __m128i;
                 ^
/Scality/WorkingSpace/SourceCodes/IronMan/vr/ntl/src/simd/definitions.h:114:50: error: use of undeclared identifier
      'RegisterType'
static constexpr std::size_t ALIGNMENT = alignof(RegisterType);
                                                 ^
/Scality/WorkingSpace/SourceCodes/IronMan/vr/ntl/src/simd/definitions.h:114:42: error: 'alignof' applied to an
      expression is a GNU extension [-Werror,-Wgnu-alignof-expression]
static constexpr std::size_t ALIGNMENT = alignof(RegisterType);
                                         ^
/Scality/WorkingSpace/SourceCodes/IronMan/vr/ntl/src/simd/definitions.h:117:49: error: use of undeclared identifier
      'RegisterType'
static constexpr std::size_t REG_BITSZ = sizeof(RegisterType) * CHAR_BIT;

lamphamsy avatar Jan 31 '19 16:01 lamphamsy