Building GDC with auto-generated header files

rikki cattermole rikki at cattermole.co.nz
Tue Jul 30 03:19:44 UTC 2019


On 30/07/2019 4:11 AM, Eduard Staniloiu wrote:
> Cheers, everybody
> 
> I'm working on this as part of my GSoC project [0].
> 
> I'm working on building gdc with the auto-generated `frontend.h` [1], 
> but I'm having some issues
> 
> There are functions in dmd that don't have an `extern (C)` or `extern 
> (C++)` but they are used by gdc (are exposed in `.h` files)
> 
> An example of such a function is `checkNonAssignmentArrayOp`[2] from 
> `dmd/arrayop.d` which is can be found in `gcc/d/dmd/expression.h` [3]

It may have previously been extern(C) or its a gdc specific patch.
Either way PR please.


More information about the Digitalmars-d-learn mailing list