August 03
#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

August 03

On Saturday, 3 August 2024 at 05:07:55 UTC, Dakota wrote:

>
#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