View previous topic :: View next topic |
Author |
Message |
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Sat May 27, 2006 2:51 pm Post subject: Problem with dmd 0.159 |
|
|
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 |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Sat May 27, 2006 5:48 pm Post subject: Re: Problem with dmd 0.159 |
|
|
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 |
|
|
|