www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13125] New: Cannot implicitly convert string* to __va_list_tag*


          Issue ID: 13125
           Summary: Cannot implicitly convert string* to __va_list_tag*
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: doob me.com

This code compiled in DMD 2.065.0 but fails in DMD 2.066.0-b3:

import core.vararg;

void main ()
    string a;
    core.vararg.va_list b = &a;

The error message is: "Error: cannot implicitly convert expression (& a) of
type string* to __va_list_tag*".

This is from DWT [1] and [2].



Jul 13 2014