-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I'm not sure if this is in the scope of this project, but it seems <stdlib.h> cannot be parsed on macOS.
syntax error: unexpected token at "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/arm/_structs.h" line 498 column 2, expected '<typedef_name>', '}'
included from tests/thing.h:6
included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:66
included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/wait.h:109
included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/signal.h:146
included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/_mcontext.h:34
included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_mcontext.h:36
included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/machine/_structs.h:35
From looking at the error, it looks like it gets stuck on the __uint128_t and __uint32_t built-in types of the following definition:
struct __darwin_arm_neon_state64
{
__uint128_t __v[32];
__uint32_t __fpsr;
__uint32_t __fpcr;
};
I tried specifying the flavor, but seems not to help
Metadata
Metadata
Assignees
Labels
No labels