using gdc under windows

Iain Buclaw ibuclaw at ubuntu.com
Sun Feb 17 11:31:37 PST 2013


On Feb 17, 2013 4:05 PM, "Alexandr Druzhinin" <drug2004 at bk.ru> wrote:
>
> Hello!
> I'm trying to build DWT with gdc under win7 using goshawk build from here
- https://bitbucket.org/goshawk/gdc/downloads
> and I get the following error:
>
> java/lang/util.d:81: Error: function java.lang.util.doVarArgFormat
(TypeInfo[] _arguments, char* _argptr) is not callable using argument types
(TypeInfo[],string*)
>
> Function java.lang.util.doVarArgFormat has signature:
>
> private String doVarArgFormat(TypeInfo[] _arguments, core.vararg.va_list
_argptr)
>
> in dmd under windows core.vararg.va_list is defined as:
>     alias void* va_list;
>
> but under GNU:
>     alias __builtin_va_list __gnuc_va_list;
>
>
>     /*********************
>      * The argument pointer type.
>      */
>     alias __gnuc_va_list va_list;
>
> Can it be the reason of error and if so how to fix the problem?

First, I'd find out why it is trying to pass a string* type in the first
place. That looks to be rather suspicious.

Regards
Iain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130217/93f2ae5d/attachment.html>


More information about the D.gnu mailing list