Warning cleanup
Corinna Vinschen
vinschen@redhat.com
Thu Mar 4 17:07:00 GMT 2010
On Mar 4 11:39, Howland Craig D (Craig) wrote:
> Updated patch with the missing -p -u options given to diff. (Oops.)
> Craig
Thanks.
> Index: libc/sys/linux/cmath/math_private.h
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/sys/linux/cmath/math_private.h,v
> retrieving revision 1.3
> diff -u -p -r1.3 math_private.h
> --- libc/sys/linux/cmath/math_private.h 9 Jul 2003 17:52:31 -0000 1.3
> +++ libc/sys/linux/cmath/math_private.h 4 Mar 2010 16:36:28 -0000
> @@ -22,15 +22,11 @@
> #include <machine/weakalias.h>
> #include <machine/huge_val.h>
>
> -#define INFINITY HUGE_VALF
> -
> #define __nan nan
> #define __isnan isnan
> #define __isinf isinf
> #define __copysignf copysignf
> #define __copysign copysign
> -#define __isnanf isnanf
> -#define __isinff isinff
This one is not clear to me. What compiler warning did you see? I see
that our common isnanf and __isnanf functions are identically defined,
but I assume there must have been a reason by the original author to
redefined __isnanf to isnanf.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
More information about the Newlib
mailing list