On Wed, 11 Mar 2015 19:26:13 -0700, Parke via Digitalmars-d-learn wrote:

>> On Wed, 11 Mar 2015 06:22:32 +0000, sclytrack wrote:
>>> - You can include C library headers directly in your .ec code, without
>>> any special keyword (like extern "C" in C++)
> 
> On Wed, Mar 11, 2015 at 1:59 AM, ketmar via Digitalmars-d-learn
> <[email protected]> wrote:
>> either i missed something, misunderstood what he means or he is simply
>> wrong. i remember that there is no CPP macro processor in eC, so...
>> oops.
>> why my C header is not working?!
> 
> Maybe the eC compiler invokes a C compiler to do the preprocessing.

and then we have things like `static inline` functions and many other 
quirks. ah, and alot of standard C headers included, which are platform-
dependent, by the way. so the only way to make this work is to have full-
featured native C compiler inside.

Attachment: signature.asc
Description: PGP signature

Reply via email to