C compatibility

Walter Bright newshound1 at digitalmars.com
Tue Jul 14 21:23:23 PDT 2009


Robert Fraser wrote:
> BCS wrote:
>> One thing Walter is adement about is that copy-n-paste C code must run 
>> correctly (i.e the same) in D or not compile. As for the C style type 
>> syntax, I'd be willing to see that go en-total.
> 
> It's useful if you have a .h that you both include in a C/C++ file and 
> run through a preprocessor to output a .d file.

I agree:

http://www.digitalmars.com/d/2.0/htod.html



More information about the Digitalmars-d mailing list