LL integer literal suffix not recognized in `#define` macros
Opened this issue · 1 comments
jblachly commented
The line
#define REGIDX_MAX (1ULL << 35)
is translated to
enum REGIDX_MAX = 1ULL << 35;
because the integer literal long long suffix is not recognized in the context of the macro.
helikopterodaktyl commented
Seeing same issue when trying to convert WebGPU headers.
#define WGPU_WHOLE_SIZE (0xffffffffffffffffULL)
gets converted to:
enum WGPU_WHOLE_SIZE = 0xffffffffffffffffULL;