https://issues.dlang.org/show_bug.cgi?id=16746
--- Comment #5 from Matthias Klumpp <matth...@tenstral.net> --- (In reply to Johannes Pfau from comment #3) > @Matthias a GDC test case would be really appreciated. This should be easily > reducible with Dustmite https://github.com/CyberShadow/DustMite . But if you > don't have the time to reduce the code you can also send the complete code > to my email address. Alternatively if it's a OSS project anyway just provide > some instructions to reproduce the problem and I'll get a reduced test case. Looks like this is all resolved with GDC 6 \o/ - I can't reproduce any of the issues and -fmake-deps seems to work pretty well, unless https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807491 is still a thing. Anyway, I submitted a patch to Meson to use this by default for GDC now: https://github.com/ximion/meson/commit/0deb7a9e0c5e358dc7d1d07d8ac10b5c82ce33cd --