FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Building gtkD
Goto page Previous  1, 2
 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Tue Oct 09, 2007 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pse



Joined: 13 Dec 2007
Posts: 36

PostPosted: Thu Dec 20, 2007 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Auria



Joined: 29 May 2006
Posts: 44

PostPosted: Thu Dec 20, 2007 9:58 am    Post subject: Reply with quote

Thanks.

Has the codegen bug been reported to GDC though? seems like everyone works around it and no one reports it
Back to top
View user's profile Send private message
Pse



Joined: 13 Dec 2007
Posts: 36

PostPosted: Thu Dec 20, 2007 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message
ShprotX



Joined: 28 Aug 2007
Posts: 24
Location: Ukraine

PostPosted: Thu Dec 20, 2007 5:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Sat Mar 15, 2008 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Sun Mar 16, 2008 4:29 am    Post subject: Reply with quote

GDC bug number is http://d.puremagic.com/issues/show_bug.cgi?id=1746
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group