On 10/03/2016 12:08, Alex Peshkoff wrote: > Hmm - it's called bit_SSE42 in CLANG. > > Thanks Alex. But in another machine with another version, it was working.
I'll try this patch on both. Does it looks ok for you? diff --git a/src/common/classes/Hash.cpp b/src/common/classes/Hash.cpp index 2970b6b..20e1ac8 100644 --- a/src/common/classes/Hash.cpp +++ b/src/common/classes/Hash.cpp @@ -46,6 +46,10 @@ namespace __cpuid(flags, 1); return (flags[2] & bit_SSE4_2) != 0; #else +#if defined(__clang__) && !defined(bit_SSE4_2) + const int bit_SSE4_2 = bit_SSE42; +#endif + // GCC - its own unsigned int eax,ebx,ecx,edx; __cpuid(1, eax, ebx, ecx, edx); Adriano ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel