www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18372] New: error missing line number: Error: undefined

https://issues.dlang.org/show_bug.cgi?id=18372

          Issue ID: 18372
           Summary: error missing line number: Error: undefined identifier
                    __va_list_tag
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: timothee.cour2 gmail.com

main.d:
```d
void fun(const(char)* a, ...) {
}

void test(){
  fun("abc");
}
```
dmd -run main.d

Error: undefined identifier __va_list_tag

--
Feb 04