[Issue 2574] New: std.c.stdio doesn't compile: va_list not defined!
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 10 11:27:05 PST 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 at digitalmars.com
ReportedBy: htvennik at 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!
--
More information about the Digitalmars-d-bugs
mailing list