On Tuesday, 28 January 2025 at 13:01:56 UTC, DLearner wrote:
Is there a definitive list somewhere of standard library
functions that work with -betterC?
For example, the following code fragment (taken from the
library docs) does not work with -betterC.
```
extern(C) void main() {
import st
On Tuesday, January 28, 2025 10:41:31 AM MST DLearner via Digitalmars-d-learn
wrote:
> On Tuesday, 28 January 2025 at 15:00:13 UTC, Jonathan M Davis
> wrote:
> [...]
>
> >
> > -betterC was originally intended to be a tool for making it
> > easier to port C code to D code (after which, the idea was
On Tuesday, 28 January 2025 at 13:01:56 UTC, DLearner wrote:
Is there a definitive list somewhere of standard library
functions that work with -betterC?
basicly none; phoboes causally imports itself and selective
imports must parse the whole import still
If you make a custom runtime or start
On Tuesday, 28 January 2025 at 15:00:13 UTC, Jonathan M Davis
wrote:
[...]
-betterC was originally intended to be a tool for making it
easier to port C code to D code (after which, the idea was that
-betterC would no longer be used, and you would just have a
normal D program).
[...]
- Jo
On Tuesday, January 28, 2025 8:04:36 AM MST Dennis via Digitalmars-d-learn
wrote:
> On Tuesday, 28 January 2025 at 15:00:13 UTC, Jonathan M Davis
> wrote:
> > but we provide no guarantees that any code that works with
> > -betterC right now will continue to do so, and we do not intend
> > to add -
On Tuesday, 28 January 2025 at 15:00:13 UTC, Jonathan M Davis
wrote:
but we provide no guarantees that any code that works with
-betterC right now will continue to do so, and we do not intend
to add -betterC support. So, if you use something from Phobos
that happens to work with -betterC today,
On Tuesday, January 28, 2025 6:01:56 AM MST DLearner via Digitalmars-d-learn
wrote:
> Is there a definitive list somewhere of standard library
> functions that work with -betterC?
>
> For example, the following code fragment (taken from the library
> docs) does not work with -betterC.
> ```
> exte