Is importC ready?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Nov 11 18:26:43 UTC 2021


On Thursday, 11 November 2021 at 17:37:37 UTC, bachmeier wrote:
> Isn't `#ifndef` handled by the preprocessor? The `__restrict` 
> problem I encountered is in the context of restricted pointers 
> `*__restrict` that remained after preprocessing the file.

Yes, everything with a ```#```-prefix is related to the 
preprocessor. So you would not want the compiler to add 
```#define```, but instead handle ```__keyword``` based on the 
emulated compiler target. But ```_Float128``` cannot be dealt 
with this way since you *want* errors to reported…



More information about the Digitalmars-d mailing list