Errors in asm-primitives.cpp when using Intel compiler
Issue #487
new
D:\Downloads\multicoreware-x265-768ab38fd5fd\source\common\x86\asm-primitives.cpp(5443): error : name followed by "::" must be a class or namespace name
uint32_t cpu = x265::cpu_detect(false);
^
D:\Downloads\multicoreware-x265-768ab38fd5fd\source\common\x86\asm-primitives.cpp(5470): error : identifier "x265_safe_intel_cpu_indicator_init" is undefined
x265_safe_intel_cpu_indicator_init();
^
I think it should be X265_NS::cpu_detect(false);
and PFX(safe_intel_cpu_indicator_init)();
, respectively.
After changes suggested by you, I can confirm the code is now able to be compiled by ICL 19.