digitalmars.D.dwt - DWT building using gdc under Windows
- Alexandr Druzhinin (2/2) Feb 15 2013 Jacob,
- Jacob Carlborg (5/7) Feb 15 2013 Unfortunately I have not written build.d, nether the original rake
- Alexandr Druzhinin (5/11) Feb 17 2013 What surprised me is compilation errors using gdc...
- Jacob Carlborg (4/8) Feb 17 2013 You're compiling for 64bit, that's not supported.
- Alexandr Druzhinin (29/35) Feb 17 2013 Oh, sorry for my mistake. But it looks like errors are here to stay:
- Jacob Carlborg (10/38) Feb 17 2013 doVarArgFormat has the following signature:
- Alexandr Druzhinin (2/4) Feb 17 2013 done
Jacob, could you describe in several words the way to add this feature to build.d?
Feb 15 2013
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
16.02.2013 4:15, Jacob Carlborg пишет:On 2013-02-15 17:33, 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)?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.
Feb 17 2013
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
17.02.2013 19:15, Jacob Carlborg ïèøåò:On 2013-02-17 12:06, 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?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.
Feb 17 2013
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
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