On Sun, 25 Aug 2024 at 10:56, Timon Gehr via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
On 8/24/24 19:10, Manu wrote:
>
>     Some years back, I got into a terrific disagreement with everyone
>     else in the D
>     community when I wanted C declarations to default to @trusted :-/
>
>
> I might have been inclined to back you on that one...

Well, you'd have been wrong. Just remove @safe at that point.

Well I think the proper solution is to allow the user to declare unsafe (ie, @trusted) code blocks, and make unsafe calls from within those blocks, which would include calls to C code.