G
Size: a a a
G
AB
G
AB
G
G
AB
AB
AB
AB
AB
AB
(T)0
на строке 103, там требуется выражения, а не просто тип, как у тебя былоG
AB
G
AB
G
#define CHOICE_MAX_TYPE(T) _Generic( (T)0, \
int8_t: int64_t, \
int16_t: int64_t, \
int32_t: int64_t, \
int64_t: int64_t, \
uint8_t: uint64_t, \
uint16_t: uint64_t, \
uint32_t: uint64_t, \
uint64_t: uint64_t \
)
AB
G
test.c:102:37: error: expected expression before ‘int64_t’
102 | int8_t: int64_t, \
AB