#include C headers in D code

bachmeier no at spam.net
Wed Apr 11 12:22:56 UTC 2018


On Wednesday, 11 April 2018 at 09:45:07 UTC, Jonathan M Davis 
wrote:

> It's one thing for someone who is familiar with D to weigh the 
> options and decide that being tied to ldc is okay. It's quite 
> another to tell someone who isn't familiar with D that in order 
> to use D, they have to use a feature which only works with a 
> specific compiler that is not the reference compiler and which 
> will likely never work with the reference compiler.

It also wouldn't work with GDC. Given that GDC has been added to 
GCC, it would be a bad idea to tell people they need to use LDC 
to work with C code.


More information about the Digitalmars-d-announce mailing list