Hi,

the opt_random.h header includes <x86intrin.h> unconditionally and breaks crytopp build
(redefinition of _mm_shuffle_epi8 in cpu.h).
could you please add #ifdef __SSSE3__ around this include?

BR,
Paweł.

cpu.h @ cryptopp:

(...)
#if !defined(__GNUC__) || defined(__SSSE3__) || defined(__INTEL_COMPILER)
#include <tmmintrin.h>
#else
__inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_mm_shuffle_epi8 (__m128i a, __m128i b)
{
        asm ("pshufb %1, %0" : "+x"(a) : "xm"(b));
        return a;
}
#endif
(...)

Reply via email to