digitalmars.D - pragma suggestion
- bobef <bobef_member pathlink.com> Sep 01 2005
- "Walter" <newshound digitalmars.com> Sep 01 2005
- Derek Parnell <derek psych.ward> Sep 01 2005
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 from
source files. Maybe something similar to pragma(importdir,"../foo"); I
this is not compiler specific since D imports don't take path in any form
maybe 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...Just thought it would be useful if import directories could be set from
source files. Maybe something similar to pragma(importdir,"../foo"); I
this is not compiler specific since D imports don't take path in any form
maybe it is appropriate...
I've gone back and forth with this. The basic problem is it makes the source files non-portable.
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 AM
Sep 01 2005








Derek Parnell <derek psych.ward>