Bug 22767 – C-style variadic functions assume __va_list_tag is imported

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-02-13T04:04:55Z
Last change time
2024-12-13T19:20:53Z
Assigned to
No Owner
Creator
duser
Moved to GitHub: dmd#20050 →

Comments

Comment #0 by duser — 2022-02-13T04:04:55Z
// test.d void fn(int x, ...) {} output: "test.d(1): Error: `__va_list_tag` is not defined, perhaps `import core.stdc.stdarg;` ?" it gives the error on 64-bit linux but compiles successfully on windows (either bitness) and 32-bit linux
Comment #1 by connor-gh — 2024-11-05T20:45:36Z
Just ran into this myself.
Comment #2 by robert.schadek — 2024-12-13T19:20:53Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20050 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB