[Issue 23864] importC fails on assert( pointer != NULL )
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 28 19:09:24 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23864
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The error message I get is:
test.c(6): Error: undefined identifier `NULL`, did you mean `null`?
Is that what you got? NULL is not defined in test.i. NULL is supposed to be a
macro defined in <stddef.h>.
gcc also complains that NULL is undefined.
--
More information about the Digitalmars-d-bugs
mailing list