Closed bioinfornatics closed 12 years ago
Test case? Also try turning off doc/.di generation, just in case there is a »rouge« version(D_Ddoc)
somewhere.
i have try without doc/.di generation same result, I repeated these operation many time always same, binary work when i use .d
I do not understand what happen, then doing a test case ...
Wild guess: This might be a linking issue, where some symbols are folded in one case, and kept/disambiguated as separate instances in the other case.
Turns out the issue occurs when -D
is passed, could be D-Programming-Language/druntime#146 if my guess from above was right.
Confirmed as issue 5930.
binary generated by ldc2 do not works exactly in same way if you build .d or link .o, it is really strange.
If i build my tool dbuilder as this:
my array of structure Dfiles save infiormation found:
If i link .o this array is empty:
with same source code i do not have same result if i build .d or link .o
Note : This problem appear into the nested function search inside the builder function.