how to get (absolute) file path from ModuleInfo? how to get include search path?
Timothee Cour
thelastmammoth at gmail.com
Sat Aug 17 13:26:22 PDT 2013
I'd like to redefine 'void _d_assertm(ModuleInfo* m, uint line){...}' to
print more informative message with full path to module; right now m.name just
shows module name.
Is the only way to manually search through include paths until it is found
? That seems silly because the compiler knows it already.
Furthermore, is there a way to get include path (the -I given to dmd,
including the standard libs)? (ideally it should be a __traits)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130817/e383315c/attachment.html>
More information about the Digitalmars-d-learn
mailing list