www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Issue with --build=profile

I'm working on a rather big project which I'm compiling with 
DMD/LDC.

The thing is when I'm trying to profile it, using `dub build 
--build=profile`, weird issues keep popping up, coming from the 
project's dependencies... eg. "Warning: statement is not 
reachable" from the dyaml package. And then it crashes with 
"/Library/D/dmd/bin/dmd failed with exit code 1."

How could I deal with this?

(In case it matters, I could also point you to my project 
sources, although I don't think it has anything to do with my 
project per-se)
Oct 18 2019