Tsoding streamed about D

Derek Fawcus dfawcus+dlang at employees.org
Sat Mar 29 10:34:01 UTC 2025


On Saturday, 29 March 2025 at 03:32:33 UTC, Walter Bright wrote:
> On 3/27/2025 10:16 AM, Derek Fawcus wrote:
>> Even then I came across bits where I concluded I had to 
>> manually access stuff via C, and then had to battle things - 
>> some of the stdargs/varargs bits I ran in to.
>
> I am not aware of any issues using stdargs/varargs with betterC?

Originally reported in the bug tracker on 14th October:
    https://issues.dlang.org/show_bug.cgi?id=24814

Now tracked in an issue following migration:
    https://github.com/dlang/dmd/issues/20534

It relates to the fact that for x86-64 use of DMD, the 
va_copy/va_end facilities need to use alloca(), and the latter 
fails under betterC.  The latter also has its own bug:

    https://issues.dlang.org/show_bug.cgi?id=24815
    https://github.com/dlang/dmd/issues/18276

I had included a partial fix for the first issue, and the patch 
is also attached to the github issue.  More details are in the 
original bug ticket, and the thread it links to.




More information about the Digitalmars-d mailing list