View previous topic :: View next topic |
Author |
Message |
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Tue Oct 09, 2007 12:59 pm Post subject: |
|
|
I guess it would take someone who uses gdc and develops gtkd, which I don't think anyone does...
I'll setup gdc this weekend and have a look around. |
|
Back to top |
|
|
Pse
Joined: 13 Dec 2007 Posts: 36
|
Posted: Thu Dec 20, 2007 8:51 am Post subject: |
|
|
Please check Ticket #4.
It should be now possible to compile programs with GDC with no undefined symbols. You'll need to recompile gtkD using the script attached to the ticket.
I'm still getting segmentation faults, though, so GDC remains unusable for gtkD. |
|
Back to top |
|
|
Auria
Joined: 29 May 2006 Posts: 44
|
Posted: Thu Dec 20, 2007 9:58 am Post subject: |
|
|
Thanks.
Has the codegen bug been reported to GDC though? seems like everyone works around it and no one reports it |
|
Back to top |
|
|
Pse
Joined: 13 Dec 2007 Posts: 36
|
Posted: Thu Dec 20, 2007 10:32 am Post subject: |
|
|
Auria wrote: | Thanks.
Has the codegen bug been reported to GDC though? seems like everyone works around it and no one reports it |
I am running the latest gdc from lenny (0.25-4.1.2-17) and the codegen bug is still there, so either the devs don't know about this bug, or they haven't been able to fix it. I'll see about contacting them about this and the other problems we have when using gdc.
Last edited by Pse on Thu Dec 20, 2007 10:28 pm; edited 1 time in total |
|
Back to top |
|
|
ShprotX
Joined: 28 Aug 2007 Posts: 24 Location: Ukraine
|
Posted: Thu Dec 20, 2007 5:28 pm Post subject: |
|
|
Pse wrote: | I am running the latest gdc from lenny (0.25-4.1.2-17) and the codegen bug is still there, so either the devs don't know about this bug, or they haven't been able to fix them. I'll see about contacting them about this and the other problems we have when using gdc. |
This is not a serious bug, but this is a greatly serious bug, if you haven't understood. Probably, the only way to fix it is to analyze source code of gdc.
...IMHO... |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Sat Mar 15, 2008 4:11 pm Post subject: |
|
|
This is the same issue as in Tango, and has the same workaround:
Code: |
Index: src/gtkc/gtktypes.d
===================================================================
--- src/gtkc/gtktypes.d (revision 469)
+++ src/gtkc/gtktypes.d (arbetskopia)
@@ -1005,6 +1005,7 @@
*/
public enum GtkResponseType
{
+ UNUSED = 0, /* workaround for GDC bug */
/+* GTK returns this if a response widget has no responseId,
* or if the dialog gets programmatically hidden or destroyed.
+/
|
All three locations on Mac OS X are referencing __D41TypeInfo_E4gtkc8gtktypes15GtkResponseType6__initZ, so the above fix is enough for all of them. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
|
Back to top |
|
|
|