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

Problem with dmd 0.159

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
keinfarbton



Joined: 03 Dec 2005
Posts: 224
Location: Stuttgart - Germany

PostPosted: Sat May 27, 2006 2:51 pm    Post subject: Problem with dmd 0.159 Reply with quote

in gdk/typedefs.d : 2480

Code:
public struct GdkEventClient;


this cause dmd 0.159 to complain about "unresolved forward references"
in line 2929

Code:
public struct GdkEvent
{
   union
   {


I changed 2480 to
Code:
public struct GdkEventClient{}

and it seems to work.
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat May 27, 2006 5:48 pm    Post subject: Re: Problem with dmd 0.159 Reply with quote

tionex wrote:
in gdk/typedefs.d : 2480

Code:
public struct GdkEventClient;


this cause dmd 0.159 to complain about "unresolved forward references"
in line 2929

thanks, the workaround seems to work indeed.
this shows the problem:
Code:
public struct S;
public struct S1;
public struct A
{
   union
   {
      S s;
      S1 s1;
   }
}
void main(){}

which one is right? dmd 157 or dmd 159?

Ant
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
Page 1 of 1

 
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