digitalmars.D - pragma suggestion
- bobef (4/4) Sep 01 2005 Just thought it would be useful if import directories could be set from ...
- Walter (7/11) Sep 01 2005 the
- Derek Parnell (8/20) Sep 01 2005 Agreed. That's why I didn't see much point in putting this functionality
Just thought it would be useful if import directories could be set from the source files. Maybe something similar to pragma(importdir,"../foo"); I think this is not compiler specific since D imports don't take path in any form so maybe it is appropriate...
Sep 01 2005
"bobef" <bobef_member pathlink.com> wrote in message news:df6oep$c32$1 digitaldaemon.com...Just thought it would be useful if import directories could be set fromthesource files. Maybe something similar to pragma(importdir,"../foo"); Ithinkthis is not compiler specific since D imports don't take path in any formsomaybe it is appropriate...I've gone back and forth with this. The basic problem is it makes the source files non-portable.
Sep 01 2005
On Thu, 1 Sep 2005 11:00:45 -0700, Walter wrote:"bobef" <bobef_member pathlink.com> wrote in message news:df6oep$c32$1 digitaldaemon.com...Agreed. That's why I didn't see much point in putting this functionality into the Build utility either. I can if somebody really needs it, but it sounds like a backwards step. -- Derek Parnell Melbourne, Australia 2/09/2005 8:01:14 AMJust thought it would be useful if import directories could be set fromthesource files. Maybe something similar to pragma(importdir,"../foo"); Ithinkthis is not compiler specific since D imports don't take path in any formsomaybe it is appropriate...I've gone back and forth with this. The basic problem is it makes the source files non-portable.
Sep 01 2005