Discussion Thread: DIP 1028--Make @safe the Default--Final Review

Mathias LANG geod24 at gmail.com
Fri Apr 3 10:15:35 UTC 2020


On Friday, 3 April 2020 at 09:50:39 UTC, Walter Bright wrote:
> On 3/27/2020 5:32 AM, aliak wrote:
>> So my understanding is if extern (C) is applied on a function 
>> declaration, then an annotation is explicitly required?
>
> No. Without an explicit annotation, it will be the default 
> (@safe).

And absolutely no one else thing it's a good idea, because it's 
essentially slapping `@trusted` on all `extern(C)` functions.


More information about the Digitalmars-d mailing list