www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - DWT building using gdc under Windows

reply Alexandr Druzhinin <drug2004 bk.ru> writes:
Jacob,
could you describe in several words the way to add this feature to build.d?
Feb 15 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-02-15 17:33, Alexandr Druzhinin wrote:
 Jacob,
 could you describe in several words the way to add this feature to build.d?
Unfortunately I have not written build.d, nether the original rake script. I can have a look at it tomorrow and see what I can do. -- /Jacob Carlborg
Feb 15 2013
parent reply Alexandr Druzhinin <drug2004 bk.ru> writes:
16.02.2013 4:15, Jacob Carlborg пишет:
 On 2013-02-15 17:33, Alexandr Druzhinin wrote:
 Jacob,
 could you describe in several words the way to add this feature to
 build.d?
Unfortunately I have not written build.d, nether the original rake script. I can have a look at it tomorrow and see what I can do.
What surprised me is compilation errors using gdc... gdc is the last build from goshawk https://bitbucket.org/goshawk/gdc/downloads I'm curious is there these errors using gdc under linux - (I guess no)?
Feb 17 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-02-17 12:06, Alexandr Druzhinin wrote:

 What surprised me is compilation errors using gdc...
 gdc is the last build from goshawk
 https://bitbucket.org/goshawk/gdc/downloads
 I'm curious is there these errors using gdc under linux - (I guess no)?
You're compiling for 64bit, that's not supported. -- /Jacob Carlborg
Feb 17 2013
parent reply Alexandr Druzhinin <drug2004 bk.ru> writes:
17.02.2013 19:15, Jacob Carlborg ïèøåò:
 On 2013-02-17 12:06, Alexandr Druzhinin wrote:

 What surprised me is compilation errors using gdc...
 gdc is the last build from goshawk
 https://bitbucket.org/goshawk/gdc/downloads
 I'm curious is there these errors using gdc under linux - (I guess no)?
You're compiling for 64bit, that's not supported.
Oh, sorry for my mistake. But it looks like errors are here to stay: cc1d.exe: warning: pragma(lib) not implemented java/lang/util.d:81: Error: function java.lang.util.doVarArgFormat (TypeInfo[] _arguments, char* _argptr) is not callable using argument types (TypeInfo[],string*) java/lang/util.d:81: Error: cannot implicitly convert expression (& fmt) of type string* to char* java/lang/util.d:85: Error: function java.lang.util.doVarArgFormat (TypeInfo[] _arguments, char* _argptr) is not callable using argument types (TypeInfo[],string*) java/lang/util.d:85: Error: cannot implicitly convert expression (& fmt) of type string* to char* java/lang/util.d:89: Error: function java.lang.util.doVarArgFormat (TypeInfo[] _arguments, char* _argptr) is not callable using argument types (TypeInfo[],string*) java/lang/util.d:89: Error: cannot implicitly convert expression (& fmt) of type string* to char* java/lang/util.d:93: Error: function java.lang.util.doVarArgFormat (TypeInfo[] _arguments, char* _argptr) is not callable using argument types (TypeInfo[],string*) java/lang/util.d:93: Error: cannot implicitly convert expression (& fmt) of type string* to char* java/lang/util.d:97: Error: function java.lang.util.doVarArgFormat (TypeInfo[] _arguments, char* _argptr) is not callable using argument types (TypeInfo[],string*) java/lang/util.d:97: Error: cannot implicitly convert expression (& fmt) of type string* to char* pragma error is clear. But I don't use vararg before, so can you help here?
Feb 17 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-02-17 14:10, Alexandr Druzhinin wrote:

 Oh, sorry for my mistake. But it looks like errors are here to stay:
 cc1d.exe: warning: pragma(lib) not implemented
 java/lang/util.d:81: Error: function java.lang.util.doVarArgFormat
 (TypeInfo[] _arguments, char* _argptr) is not callable using argument
 types (TypeInfo[],string*)
 java/lang/util.d:81: Error: cannot implicitly convert expression (& fmt)
 of type string* to char*
 java/lang/util.d:85: Error: function java.lang.util.doVarArgFormat
 (TypeInfo[] _arguments, char* _argptr) is not callable using argument
 types (TypeInfo[],string*)
 java/lang/util.d:85: Error: cannot implicitly convert expression (& fmt)
 of type string* to char*
 java/lang/util.d:89: Error: function java.lang.util.doVarArgFormat
 (TypeInfo[] _arguments, char* _argptr) is not callable using argument
 types (TypeInfo[],string*)
 java/lang/util.d:89: Error: cannot implicitly convert expression (& fmt)
 of type string* to char*
 java/lang/util.d:93: Error: function java.lang.util.doVarArgFormat
 (TypeInfo[] _arguments, char* _argptr) is not callable using argument
 types (TypeInfo[],string*)
 java/lang/util.d:93: Error: cannot implicitly convert expression (& fmt)
 of type string* to char*
 java/lang/util.d:97: Error: function java.lang.util.doVarArgFormat
 (TypeInfo[] _arguments, char* _argptr) is not callable using argument
 types (TypeInfo[],string*)
 java/lang/util.d:97: Error: cannot implicitly convert expression (& fmt)
 of type string* to char*

 pragma error is clear. But I don't use vararg before, so can you help here?
doVarArgFormat has the following signature: doVarArgFormat(TypeInfo[] _arguments, core.vararg.va_list _argptr) Since it works using DMD I can only assume that "va_list" is differently typed for GDC. For DMD "va_list" is an alias for "void*", for GDC it's an alias for "__builtin_va_list". https://github.com/D-Programming-GDC/GDC/blob/master/libphobos/libdruntime/core/stdc/stdarg.d#L25 Could you please ask in the GDC/GNU newsgroup? -- /Jacob Carlborg
Feb 17 2013
parent Alexandr Druzhinin <drug2004 bk.ru> writes:
17.02.2013 21:53, Jacob Carlborg ïèøåò:
 On 2013-02-17 14:10, Alexandr Druzhinin wrote:

 Could you please ask in the GDC/GNU newsgroup?
done
Feb 17 2013