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

ag0aep6g anonymous at example.com
Wed Mar 25 07:29:19 UTC 2020


On 25.03.20 08:03, Mike Parker wrote:
> You can find DIP 1028 here:
> 
> https://github.com/dlang/DIPs/blob/5afe088809bed47e45e14c9a90d7e78910ac4054/DIPs/DIP1028.md 

The DIP says about `extern` functions:

> An unmarked extern (D) function will now be considered @safe.

It does not say clearly what happens with other `extern` functions.

For unmarked `extern (C)` and `extern (C++)` functions, the DIP should 
either say that they will still be considered @system, or it should say 
that they become errors.

The DIP should also mention `extern (Windows)` and `extern 
(Objective-C)`, or just have a catch-all sentence about "other `extern` 
functions".


More information about the Digitalmars-d mailing list