importC error: can not find the #define ERR_INVALID -1

Steven Schveighoffer schveiguy at gmail.com
Sat Aug 3 06:39:35 UTC 2024


On Saturday, 3 August 2024 at 05:07:55 UTC, Dakota wrote:
> ```c
> #define ERR_SUCCESS 0
> #define ERR_INVALID -1   // invalid argument
> ```
>
> If the number >=0, it work.  < 0 will not work.
>
> DMD64 D Compiler v2.110.0-beta.1

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

-Steve


More information about the Digitalmars-d-learn mailing list