maiatoday
08/20/2023, 8:17 PMconst val SIZE_MAX = 80
The error messages is something like this:
#import "Headers/shared.h"
^
/.../urban-parakeet/shared/build/cocoapods/framework/shared.framework/Headers/shared.h:155:37: error: expected member name or ';' after declaration specifiers
@property (class, readonly) int32_t SIZE_MAX __attribute__((swift_name("SIZE_MAX")));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/stdint.h:173:27: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX UINTPTR_MAX
^
Here is a minimal repo that has this behaviour. If I rename SIZE_MAX to say PLUGH then it works, some macro weirdnesses or fights between a pre-existing SIZE_MAX methinks.maiatoday
08/21/2023, 10:32 AM#define
are set in the Objective C world.Dima Avdeev
08/21/2023, 4:48 PMmaiatoday
08/21/2023, 4:50 PM