On Wednesday, 23 February 2022 at 20:42:10 UTC, rempas wrote:
Do you know where is the updated GDC branch btw?
There is no branch, it is just part of the upstream mainline. see: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=gcc/d/dmd;h=454baa71a0d270fb891acdda6fd0215a3d6cb588;hb=HEADand yeah it is extern(C++). importC isn't going to be helpful, but still, gdc proves you can make a gcc frontend in d.