v86d icon indicating copy to clipboard operation
v86d copied to clipboard

Fails to build with GCC 14: `ops2.c:393:5: error: implicit declaration of function ‘cpuid’ [-Wimplicit-function-declaration]`.

Open dreirund opened this issue 1 year ago • 0 comments

Building this with GCC 14.2.1, build fails with

ops2.c: In function ‘x86emuOp2_cpuid’:
ops2.c:393:5: error: implicit declaration of function ‘cpuid’ [-Wimplicit-function-declaration]
  393 |     cpuid();
      |     ^~~~~

(Adding -Wno-error=implicit-function-declaration to $CFLAGS/ $CXXFLAGS works around the issue, but I think a code fix is needed.)

Regards!

dreirund avatar Nov 11 '24 20:11 dreirund