<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 25 Aug 2024 at 10:56, Timon Gehr via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/24/24 19:10, Manu wrote:<br>
> <br>
> Some years back, I got into a terrific disagreement with everyone<br>
> else in the D<br>
> community when I wanted C declarations to default to @trusted :-/<br>
> <br>
> <br>
> I might have been inclined to back you on that one...<br>
<br>
Well, you'd have been wrong. Just remove @safe at that point.<br></blockquote><div><br></div><div>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.</div></div></div>