May 08, 2004 Using stdarg and stdio together | ||||
---|---|---|---|---|
| ||||
I can't use stdio and stdarg in the same file. I get: C:\dmd\bin\..\src\phobos\std\c\stdarg.d: typedef va_list conflicts with stdio.va_list at C:\dmd\bin\..\src\phobos\std\c\stdio.d(145) To fix this I changed this line: typedef void* va_list; to: private import std.c.stdio; Is there something wrong with that? Walter you please have it like that in the next version? -- -Anderson: http://badmama.com.au/~anderson/ |
May 09, 2004 Re: Using stdarg and stdio together | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | I'll take care of it. -Walter "J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:c7i79c$fkt$1@digitaldaemon.com... > I can't use stdio and stdarg in the same file. I get: > > C:\dmd\bin\..\src\phobos\std\c\stdarg.d: typedef va_list conflicts with stdio.va_list at C:\dmd\bin\..\src\phobos\std\c\stdio.d(145) > > To fix this I changed this line: > > typedef void* va_list; > > to: > > private import std.c.stdio; > > Is there something wrong with that? Walter you please have it like that in the next version? > > -- > -Anderson: http://badmama.com.au/~anderson/ |
Copyright © 1999-2021 by the D Language Foundation