KittyMemory icon indicating copy to clipboard operation
KittyMemory copied to clipboard

Compilation error with macOS 15.0/15.1 and new clang version

Open TheRouletteBoi opened this issue 4 months ago • 0 comments

Description: The recent update to macOS 15.0 or 15.1, along with the new version of clang, is causing a compilation error when building the template. This issue seems related to C++ module imports within extern "C" specifications.

Steps to Reproduce: Attempt to compile the project template.

In file included from ../KittyMemory/MemoryPatch.cpp:11:
../KittyMemory/Deps/Keystone/includes/keystone.h:11:1: error: import of C++ module 'std_stdint_h' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
   11 | #include <stdint.h>
      | ^
../KittyMemory/Deps/Keystone/includes/keystone.h:8:1: note: extern "C" language linkage specification begins here
    8 | extern "C" {
      | ^
1 error generated.

TheRouletteBoi avatar Oct 26 '24 01:10 TheRouletteBoi