On Sunday, March 04, 2012 03:38:03 Andrej Mitrovic wrote: > 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.
It's a common error to use int where size_t should be used. Using int when dealing with __LINE__ is just one case of that. It didn't start actually causing compilation errors until we go 64-bit dmd though. - Jonathan M Davis