D.gnu - using gdc under windows
- Alexandr Druzhinin (19/19) Feb 17 2013 Hello!
- Iain Buclaw (9/24) Feb 17 2013 (TypeInfo[] _arguments, char* _argptr) is not callable using argument ty...
- Jacob Carlborg (6/8) Feb 17 2013 Here's the code:
- Iain Buclaw (4/10) Feb 17 2013 https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util....
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?
Feb 17 2013
On Feb 17, 2013 4:05 PM, "Alexandr Druzhinin" <drug2004 bk.ru> wrote:Hello! I'm trying to build DWT with gdc under win7 using goshawk build from here- https://bitbucket.org/goshawk/gdc/downloadsand 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.
Feb 17 2013
On 2013-02-17 20:31, Iain Buclaw wrote:First, I'd find out why it is trying to pass a string* type in the first place. That looks to be rather suspicious.Here's the code: https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L79 https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L386 -- /Jacob Carlborg
Feb 17 2013
On Feb 17, 2013 8:45 PM, "Jacob Carlborg" <doob me.com> wrote:On 2013-02-17 20:31, Iain Buclaw wrote:https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L79First, I'd find out why it is trying to pass a string* type in the first place. That looks to be rather suspicious.Here's the code:https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L386-- /Jacob CarlborgSo much for writing portable code...
Feb 17 2013