[Issue 23441] importc: array length macro preprocessed with cpp doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 28 03:02:31 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23441

--- Comment #4 from ryuukk_ <ryuukk.dev at gmail.com> ---
> That NK_LEN macro apparently makes use of a weird special syntax to get the length of a C array, see the last 'notes' paragraph in https://en.cppreference.com/w/c/language/sizeof.



So it is valid C11 code? or should this issue be closed?

--


More information about the Digitalmars-d-bugs mailing list