Using dpp on the openmpi headers

Andre Pany andre at s-e-a-p.de
Fri Mar 13 10:44:08 UTC 2020


On Friday, 13 March 2020 at 08:08:17 UTC, Peter Jacobs wrote:
> Given the recent thread that mentioned dpp for generating an 
> interface module for a C library, I thought that I would give 
> it a go on the openmpi headers.  I am working in  LinuxMint 
> system and after making a symbolic link for libclang.so, I have 
> had some success but not complete success.
>
> [...]

DPP cannot translate macros. Another problem is inlined 
functions. While DPP generates their headers, their 
implementations are missing in the binary files.
In both cases you have to reimplement the functions in D.

Kind regards
Andre


More information about the Digitalmars-d mailing list