[Bug fortran/100910] Bind(c): errors handling long double complex

jrfsousa at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 6 00:44:53 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100910

--- Comment #3 from José Rui Faustino de Sousa <jrfsousa at gcc dot gnu.org> ---
AFAIK the "CMPLX" macros are part of C11 and should be defined in the standard
header "complex.h"...

Since there are no complains about the header, maybe just adding the definition
of the macro will do the trick...

#define CMPLXL(x, y) ((long double complex)((long double)(x) + I * (long
double)(y)))

I will attach an altered file.

Thank you very much.

Best regards,
José Rui


More information about the Gcc-bugs mailing list