[Issue 1949] Remove internal dependency on stdarg
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 26 16:14:29 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1949
------- Comment #1 from darrylbleau at gmail.com 2008-03-26 18:14 -------
Alternatively, one could allow the stdarg import to come from
somewhere else, something like 'gcc.stdarg' might be a good fit.
That would be a fairly trivial change, just changing the line:
else if (md->packages->dim >= 1 && !strcmp( ((Identifier *)
md->packages->data[0])->string, "std" ))
To also strcmp for "gcc" would allow for std.stdarg, gcc.stdarg,
std.c.stdarg, or gcc.c.stdarg, which seems reasonable and would be a
very simple way to resolve this problem without introducing pragmas or
some other (though possibly more flexible) complex solution.
--
More information about the D.gnu
mailing list