www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17164] New: [REG 2.072.0] undefined identifier '__va_argsave'

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

          Issue ID: 17164
           Summary: [REG 2.072.0] undefined identifier '__va_argsave'
           Product: D
           Version: D2
          Hardware: All
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: doob me.com

The following code compiled with DMD 2.071.2 but since 2.072.0 it fails to
compile:

import core.vararg;

void foo(string fmt, ...)
{
    auto a = __va_argsave;
}

Error:

main.d(5): Error: undefined identifier '__va_argsave', did you mean struct
'__va_argsave_t'?

--
Feb 09