Error: mixin is not defined (dmd v2.032)

div0 div0 at users.sourceforge.net
Sun Sep 6 06:10:14 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Denis Koroskin wrote:
> On Sun, 06 Sep 2009 15:15:14 +0400, Tyro <nospam at home.com> wrote:
> 
>> the following appears on line 876 of control.d in the DFL package:
>> mixin OpApplyAddIndex!(opApply, Control);
>>
>> Attempting to compile it results in the following error message:
>> control.d(876): Error: mixin is not defined
>>
>> I've compiled my copy of DFL with every release of dmd starting with
>> v2.021 only encountering this problem with the release of v2.032.
>>
>> Here is another problem that cropped up with this release:
>> control.d(783): Error: identifier 'HWND' is not defined
>>
>> I'm not too worried about that one because it was easily resolved with:
>> private import std.c.windows.windows: HWND;
>>
>> Any ideas?
> 
> A bug was reported a while ago that states that some imports are being
> ignored by DMD 2.032. I guess your behavior has something to do with
> that bug.

http://d.puremagic.com/issues/show_bug.cgi?id=3301

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKo7S2T9LetA9XoXwRAmMcAKCeMC/Mk8LiRdY20IWIBrXCWqdRSACcCxY4
j0qfRSVkOhwxBQ1bj5+vjt4=
=yoMz
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list