On Mon, Sep 1, 2025 at 5:21 PM Philipp Klaus Krause <p...@spth.de> wrote: > I would like to change that to allowing allocation of zero-sized objects > instead. Then, malloc(0) and realloc(ptr, 0) would return a non-null > pointer. This would be compliant with C99, C17 and C23, but not C90.
That behaviour would be my preference also, as it makes actually using it easier. Cheers, -- Steve Schnepp _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user