On Feb 17, 2013 4:05 PM, "Alexandr Druzhinin" <drug2...@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.