Thread overview
[Issue 2574] New: std.c.stdio doesn't compile: va_list not defined!
Jan 10, 2009
d-bugmail
Mar 06, 2009
d-bugmail
Apr 01, 2009
d-bugmail
January 10, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2574

           Summary: std.c.stdio doesn't compile: va_list not defined!
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: htvennik@zonnet.nl


Although it looks like a Phobos bug, it seems to be a compiler issue, because std.c.stdio imports std.c.stdargs, which defines va_list as:

alias void* va_list;

If i remove the line 'private import std.c.stdargs;' from std/c/stdio.d and add 'alias void* va_list;' instead, it works!

The compiler does not complain about a missing std/c/stdargs.d file, so it does actually import the module!


-- 

March 06, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2574





------- Comment #1 from baryluk@smp.if.uj.edu.pl  2009-03-06 11:40 -------
Please do something with it. This breaks lots of libraries.


-- 

April 01, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2574


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla@digitalmars.com  2009-04-01 13:52 -------
Fixed DMD 2.027


--