mpc-1.0.3 build errors

sisyphus1@optusnet.com.au sisyphus1@optusnet.com.au
Sun Sep 30 12:04:00 GMT 2018


-----Original Message----- 
From: rih5342
Sent: Sunday, September 30, 2018 5:04 AM
To: gcc-help@gcc.gnu.org
Subject: mpc-1.0.3 build errors

> ../../mpc-1.0.3/src/mul.c:175:1: error: conflicting types for ‘mpfr_fmma’

I struck the same issue trying to build an old version of mpc against a 
modern version of mpfr.

Switching to mpc-1.1.0 source should fix the problem.
The mpfr_fmma function did not appear in the mpfr library until 2016-01-10, 
so another solution could be to build mpc-1.0.3 against any version of mpfr 
that was released prior to that date.

Cheers,
Rob 



More information about the Gcc-help mailing list