Is importC ready?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Thu Nov 11 17:21:16 UTC 2021
On Thursday, 11 November 2021 at 17:06:15 UTC, bachmeier wrote:
> understand what some of them were saying. It would really help
> if the compiler would automatically add lines like `#define
> __restrict restrict`.
I think you only can do that with names that start with two "__",
because of ```#ifndef```.
It is kinda tricky as C code bases contains a lot of ```#ifdef```
based on target compiler, so you have to choose one. I guess GCC
is a safe bet.
More information about the Digitalmars-d
mailing list