On 7/14/2017 4:51 PM, Walter Bright wrote:
On 7/14/2017 9:53 AM, Johan Engelen wrote:What happens in that in one kind of compilation, @nogc is deduced for a function. But in another compilation, it isn't. Thus references to the function will have the wrong mangling, and linker errors happen:https://issues.dlang.org/show_bug.cgi?id=17541At the moment you can work around it by explicitly adding the annotation.
https://github.com/dlang/dmd/pull/6995
