Errors in asm-primitives.cpp when using Intel compiler

Issue #487 new
Former user created an issue
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.

Comments (1)

  1. Log in to comment