[Issue 5093] New: improve error for importing std.c.windows.windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 21 09:08:55 PDT 2010
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: nobody at puremagic.com
ReportedBy: Jesse.K.Phillips+D at gmail.com
CC: Jesse.K.Phillips+D at gmail.com
--- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D at 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: -------
More information about the Digitalmars-d-bugs
mailing list