DIP1028 - Rationale for accepting as is

ag0aep6g anonymous at example.com
Fri May 22 18:23:28 UTC 2020


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.


More information about the Digitalmars-d-announce mailing list