Bug 18372 – REG(2.072): error missing line number: Error: undefined identifier __va_list_tag

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-02-05T01:03:20Z
Last change time
2018-12-19T13:46:05Z
Assigned to
No Owner
Creator
Timothee Cour

Comments

Comment #0 by timothee.cour2 — 2018-02-05T01:03:20Z
main.d: ```d void fun(const(char)* a, ...) { } void test(){ fun("abc"); } ``` dmd -run main.d Error: undefined identifier __va_list_tag
Comment #1 by timothee.cour2 — 2018-02-05T01:17:53Z
actually it's a regression: dmd2_071_2: main.d(17): Error: '__va_argsave_t' is not defined, perhaps you need to import core.vararg; ? main.d(17): Error: function test_all.fun must import core.vararg to use variadic functions dmd2_072: Error: undefined identifier '__va_list_tag'
Comment #2 by bugzilla — 2018-12-16T11:48:45Z
Comment #3 by github-bugzilla — 2018-12-19T13:46:04Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/6eb4a8693045e465f7b94d085bf90d4a0695314e fix Issue 18372 - REG(2.072): error missing line number: Error: undefined identifier __va_list_tag https://github.com/dlang/dmd/commit/e21ea5744417406ac6f3262ddfdb07f9c5768e2e Merge pull request #9087 from WalterBright/fix18372 fix Issue 18372 - REG(2.072): error missing line number: Error: undef…