Emitting C/C++ headers

Seb seb at wilzba.ch
Sun Feb 16 20:51:10 UTC 2020


On Sunday, 16 February 2020 at 18:43:39 UTC, Manu wrote:
> On Sun, Feb 16, 2020 at 10:33 AM Manu <turkeyman at gmail.com> 
> wrote:
>>
>> On Sun, Feb 16, 2020 at 2:50 AM Stefan Koch via Digitalmars-d 
>> <digitalmars-d at puremagic.com> wrote:
>> >
>> > On Sunday, 16 February 2020 at 03:53:47 UTC, Manu wrote:
>> > > Where are we at with this?
>> > > There was a flurry of activity last year, but did anything 
>> > > make
>> > > it
>> > > across the line? Is it present in the current release? I 
>> > > can't
>> > > see any
>> > > mention in the compiler reference.
>> >
>> > If I recall correctly you can throw the -Hc switch to 
>> > generate c headers.
>>
>> Is available in releases? Should probably update the command 
>> line docs to mention it.
>
> 2.90.1 doesn't accept -Hc
>
>  1> COMPILED : error : unrecognized switch '-Hc'
>  1>        run `dmd` to print the compiler manual

Of course, it has never been merged:

https://github.com/dlang/dmd/pull/9971

I think at this point it should just be merged as is, because 
otherwise no progress will ever happen.
Once merged, it can be improved incrementally.


More information about the Digitalmars-d mailing list