www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13249] New: -J doesn't like symlinks

https://issues.dlang.org/show_bug.cgi?id=13249

          Issue ID: 13249
           Summary: -J doesn't like symlinks
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: nilsbossung googlemail.com

---
cat > test.d << code
pragma(msg, import("test.d"));
code
mkdir d
ln -s ../test.d d/test.d
dmd -o- -Jd test.d
---
test.d(1): Error: file "test.d" cannot be found or not in a path specified with
-J
test.d(1):        while evaluating pragma(msg, import("test.d"))
---

--
Aug 03 2014