On 22.05.20 19:12, Atila Neves wrote:
Flipping the default will cause more incorrect code to fail to compile. Yes, there's a cost, which is carefully vetting extern(C) and extern(C++) declarations. The decision came down to finding this an acceptable trade-off.

You can still carefully vet the extern declarations if DMD requires an explicit safety attribute on them. You can do it better even, because DMD will tell you where they are.

Reply via email to