Finishing off C++ Header generation, a request for help

Iain Buclaw ibuclaw at gdcproject.org
Fri Oct 13 15:33:31 UTC 2023


On Thursday, 12 October 2023 at 22:56:20 UTC, Nicholas Wilson 
wrote:
> On Thursday, 12 October 2023 at 14:34:01 UTC, kinke wrote:
>> I think one big problem is that a truly usable frontend.h 
>> would have to accomodate for all platforms. So all 
>> `version(XY)` stuff (Windows, Posix, …), 32/64-bit differences 
>> etc. would have to be accounted for.
>
> Not really, you'd generate it "on demand" with the D compiler 
> you are using to build LDC/GDC.

With all its bugs in generating C++ headers that don't exist in 
the latest version you're trying to compile.

Reducing what gets exposed to C++ interface would get you further.


More information about the Digitalmars-d mailing list