digitalmars.D - Error: mixin is not defined (dmd v2.032)
- Tyro (10/10) Sep 06 2009 the following appears on line 876 of control.d in the DFL package:
- Denis Koroskin (4/15) Sep 06 2009 A bug was reported a while ago that states that some imports are being
- div0 (14/36) Sep 06 2009 -----BEGIN PGP SIGNED MESSAGE-----
- Robert Jacques (12/23) Sep 06 2009 If you check the DMD 2.032 thread over in the announce list, you'll find...
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?
Sep 06 2009
On Sun, 06 Sep 2009 15:15:14 +0400, Tyro <nospam 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.
Sep 06 2009
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Denis Koroskin wrote:On Sun, 06 Sep 2009 15:15:14 +0400, Tyro <nospam home.com> wrote: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-----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.
Sep 06 2009
On Sun, 06 Sep 2009 07:15:14 -0400, Tyro <nospam 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?If you check the DMD 2.032 thread over in the announce list, you'll find my posts on this problem. I filled a bug, 3301, but it looks like what really happened is DMD 2.032 exacerbated bug 258. I have already submitted a patch to Chris. Here's the patch https://jshare.johnshopkins.edu/xythoswfs/webui/_xy-3842113_1-t_VRRBqZAG Here's my copy of DFL https://jshare.johnshopkins.edu/xythoswfs/webui/_xy-3615403_1-t_VRRBqZAG I hope this helps. BTW, the private import std.c.windows.windows: HWND; fix won't work on Tango systems and the mixin is located over in collections.d.
Sep 06 2009