...
Even if the software is compiled with C++, the C and Fortran APIs are unchanged, so your programs should be able to link to it without any change.
Please open a ticket through our support portal (https://support.ecmwf.int) if you have any question or concern.
Kind regards
ECMWF Software Development Team
...