[Patch,Fortran] PR40863 [4.5 Regression] Build failure in libgfortran
Thomas Koenig
tkoenig@netcologne.de
Mon Jul 27 13:19:00 GMT 2009
On Mon, 2009-07-27 at 08:26 +0200, Tobias Burnus wrote:
> Hello,
>
> attached patch fixes the libgfortran build on system which
> lack some C99 complex support.
>
> It does:
> a) If "I" (with I*I = -1) is not defined, define it.
> This fixes the build failure.
> b) The c99_functions.c implements some fallback functions;
> however, it does not include a header file (c99_protos.h)
> to declare them. Thus there are warning with
> -Wstrict-prototypes -Wmissing-prototypes. This patch adds
> prototypes to silence the warnings.
> c) My recent patch forgot to update gfortran.map; while doing
> so, I added some other functions which were missing.
>
> Build on a C99 system (which was unaffected before). The patch
> was tested successfully on i686-pc-cygwin and
> hppa2.0w-hp-hpux11.11 by the bug reporters.
>
> OK for the trunk?
OK.
Thanks for the quick fix!
Thomas
More information about the Gcc-patches
mailing list