Evaluating __FILE__ and __LINE__ of caller?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Mar 3 18:38:03 PST 2012


Ok, well a quick search shows socket.d:132 needs fixing. Also there's
two versioned out enforces in object_.d which use int line = __LINE__.
Interestingly, earlier versions of Phobos used int a lot (I guess in
pre-64bit compatible D days). I'm also seeing int used in Derelict,
pspemu, plot2kill and dwt2.


More information about the Digitalmars-d-learn mailing list