Additionally, is there a way to get:
* the absolute path of __FILE__ at the time the file was compiled (the compiler knows it)
* the current directory in which the compiler compiled that file



On Sat, Aug 17, 2013 at 1:26 PM, Timothee Cour <thelastmammoth@gmail.com> wrote:
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)