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

           Summary: improve error for importing std.c.windows.windows
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: jesse.k.phillip...@gmail.com
                CC: jesse.k.phillip...@gmail.com


--- Comment #0 from Jesse Phillips <jesse.k.phillip...@gmail.com> 2010-10-21 
09:08:13 PDT ---
Currently when you import std.c.windows.windows on a non-Windows machine, the
file and line number of std/c/windows/windows.d is returned due to a static
assert(0).

This is great and all, but it would be really nice to have the file and line
number of the importer. I don't know of how to improve this. Maybe an
improvement to DMD so that a module that is imported and has a static assert(0)
results in the importer file and line being used?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to