On Saturday, 18 September 2021 at 21:16:13 UTC, frame wrote:
On Saturday, 18 September 2021 at 18:48:07 UTC, Steven Schveighoffer wrote:
Are you defining the prototype for strchr yourself instead of importing it from core.stdc.string?

Not really :D but without cast it complains:
```
Error: cannot implicitly convert expression strchr(e, cast(int)c) of type const(char)* to char*
```

But I guess it's because it tries to assign to a `char*` therefore inout() doesn't work.


Reply via email to