ImportC can now automatically run the preprocessor

Tejas notrealemail at gmail.com
Tue May 17 07:15:52 UTC 2022


On Tuesday, 17 May 2022 at 05:11:01 UTC, Walter Bright wrote:
> On 5/16/2022 2:52 AM, deadalnix wrote:
>> I don't understand where this is going at all. At first, I 
>> thought that this was able being able to import c (as the name 
>> would suggest), which seems super useful, but now it seems to 
>> be evolving into a full blow C compiler and I have no idea why 
>> I would want that. I already have several on my machine, and 
>> they are extremely high quality.
>
> People can and do put the full C language into .h files (for 
> example, functions that are expected to be inlined).

Yeah, header-only libraries are very popular among users, since 
it helps keep binary sizes under control, so authors shove as 
much of the functionality as possible into the header files


More information about the Digitalmars-d mailing list