[libgfortran, patch] Silence a warning in fallback round() implementation
Tobias Burnus
burnus@net-b.de
Tue Nov 8 10:12:00 GMT 2011
On 11/08/2011 10:06 AM, FX wrote:
> PR 47970 is about a warning in libgfortran/intrinsics/c99_functions.c for platforms without round() and ceill(), because round() is used in roundl() before it's prototype is given. Moving the round() prototype and implementation earlier in the file fixes it.
>
> Patch tested by manually editing my config.h on x86_64-linux to simulate the conditions. OK to commit to trunk?
OK and rather obvious.
Thanks for the patch and for going though the PRs.
Tobias
More information about the Fortran
mailing list