Thread overview
[Issue 24429] [ImportC] improve error message for size_t
Mar 05, 2024
Richard Cattermole
Mar 09, 2024
Lance Bachmeier
March 05, 2024
https://issues.dlang.org/show_bug.cgi?id=24429

Richard Cattermole <alphaglosined@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC
           Priority|P1                          |P5
                 CC|                            |alphaglosined@gmail.com
           Severity|minor                       |enhancement

--- Comment #1 from Richard Cattermole <alphaglosined@gmail.com> ---
This should also apply to ptrdiff_t.

--
March 09, 2024
https://issues.dlang.org/show_bug.cgi?id=24429

--- Comment #2 from Lance Bachmeier <lance@lancebachmeier.com> ---
Same for NULL. The error message is incorrect: Error: undefined identifier `NULL`, did you mean `null`? But if you change it to null, you get Error: undefined identifier `null`.

Maybe stddef.h should always be included with C code. There's not much in there, but what's there is used frequently.

--
December 13
https://issues.dlang.org/show_bug.cgi?id=24429

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/20414

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--