-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
__(U)INTCAP_TYPE__macros not defined__(U)INTCAP_WIDTH__macros are not defined (intptr_t ones are wrong per __(U)INTPTR_WIDTH__ and __POINTER_WIDTH__ macros are too wide #795)__(U)INTCAP_FMT*__macros are undefined (GCC doesn't provide these in general)__SIZEOF_(U)INTCAP__are defined when that's not the case for (u)intptr_t
Purecap clang INTCAP macros:
$ clang -dM -E -x c /dev/null | grep INTCAP
#define __INTCAP_MAX__ 9223372036854775807L
#define __SIZEOF_INTCAP__ 16
#define __SIZEOF_UINTCAP__ 16
#define __UINTCAP_MAX__ 18446744073709551615UL
Purecap clang INTPTR macros:
clang -dM -E -x c /dev/null | grep INTPTR
#define __INTPTR_FMTd__ "Pd"
#define __INTPTR_FMTi__ "Pi"
#define __INTPTR_MAX__ 9223372036854775807L
#define __INTPTR_TYPE__ __intcap
#define __INTPTR_WIDTH__ 128
#define __UINTPTR_FMTX__ "PX"
#define __UINTPTR_FMTo__ "Po"
#define __UINTPTR_FMTu__ "Pu"
#define __UINTPTR_FMTx__ "Px"
#define __UINTPTR_MAX__ 18446744073709551615UL
#define __UINTPTR_TYPE__ unsigned __intcap
#define __UINTPTR_WIDTH__ 128
Metadata
Metadata
Assignees
Labels
No labels