The problem is that identifiers beginning with are reserved for the compiler. In the macOS SDK 14 (I didn't have issues with previous versions), local is used in the \<algorithm> standard header. Here is an exemple:
As #define local is defined before #include , this cause _Traits::__local to be replaced by _Traits::const, causing a compilation error.
local is not even used anywhere.
In the file 'astc_encode_kernel.h' is defined a macro __local:
The problem is that identifiers beginning with are reserved for the compiler. In the macOS SDK 14 (I didn't have issues with previous versions), local is used in the \<algorithm> standard header. Here is an exemple:
As #define local is defined before #include, this cause _Traits::__local to be replaced by _Traits::const, causing a compilation error.
local is not even used anywhere.