D.gnu - using gdc under windows
- Alexandr Druzhinin <drug2004 bk.ru> Feb 17 2013
- Iain Buclaw <ibuclaw ubuntu.com> Feb 17 2013
- Jacob Carlborg <doob me.com> Feb 17 2013
- Iain Buclaw <ibuclaw ubuntu.com> Feb 17 2013
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
--20cf302ef79e35c7b504d5f0a81d Content-Type: text/plain; charset=ISO-8859-1 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
and I get the following error: java/lang/util.d:81: Error: function java.lang.util.doVarArgFormat
(TypeInfo[],string*)Function java.lang.util.doVarArgFormat has signature: private String doVarArgFormat(TypeInfo[] _arguments, core.vararg.va_list
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. --20cf302ef79e35c7b504d5f0a81d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p><br> On Feb 17, 2013 4:05 PM, "Alexandr Druzhinin" <<a href=3D"mail= to:drug2004 bk.ru">drug2004 bk.ru</a>> wrote:<br> ><br> > Hello!<br> > I'm trying to build DWT with gdc under win7 using goshawk build fr= om here - <a href=3D"https://bitbucket.org/goshawk/gdc/downloads">https://b= itbucket.org/goshawk/gdc/downloads</a><br> > and I get the following error:<br> ><br> > java/lang/util.d:81: Error: function java.lang.util.doVarArgFormat (Ty= peInfo[] _arguments, char* _argptr) is not callable using argument types (T= ypeInfo[],string*)<br> ><br> > Function java.lang.util.doVarArgFormat has signature:<br> ><br> > private String doVarArgFormat(TypeInfo[] _arguments, core.vararg.va_li= st _argptr)<br> ><br> > in dmd under windows core.vararg.va_list is defined as:<br> > =A0 =A0 alias void* va_list;<br> ><br> > but under GNU:<br> > =A0 =A0 alias __builtin_va_list __gnuc_va_list;<br> ><br> ><br> > =A0 =A0 /*********************<br> > =A0 =A0 =A0* The argument pointer type.<br> > =A0 =A0 =A0*/<br> > =A0 =A0 alias __gnuc_va_list va_list;<br> ><br> > Can it be the reason of error and if so how to fix the problem?<br></p=
irst place. That looks to be rather suspicious.</p> <p>Regards<br> Iain.</p> --20cf302ef79e35c7b504d5f0a81d--
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
--0021cc02206623258d04d5f2654e Content-Type: text/plain; charset=ISO-8859-1 On Feb 17, 2013 8:45 PM, "Jacob Carlborg" <doob me.com> wrote: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:
-- /Jacob Carlborg
So much for writing portable code... --0021cc02206623258d04d5f2654e Content-Type: text/html; charset=ISO-8859-1 <p><br> On Feb 17, 2013 8:45 PM, "Jacob Carlborg" <<a href="mailto:doob me.com">doob me.com</a>> wrote:<br> ><br> > On 2013-02-17 20:31, Iain Buclaw wrote:<br> ><br> >> First, I'd find out why it is trying to pass a string* type in the first<br> >> place. That looks to be rather suspicious.<br> ><br> ><br> > Here's the code:<br> ><br> > <a href="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#L79</a><br> ><br> > <a href="https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L386">https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L386</a><br> ><br> > -- <br> > /Jacob Carlborg</p> <p>So much for writing portable code...<br> </p> --0021cc02206623258d04d5f2654e--
Feb 17 2013









Jacob Carlborg <doob me.com> 