Re: [libgfortran, patch] Silence a warning in fallback round() implementation

2011-11-08 Thread Tobias Burnus
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.

[libgfortran, patch] Silence a warning in fallback round() implementation

2011-11-08 Thread FX
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