Explodes on one of my systems as well.  Errors are identical.  32bit, linux 
2.6.32, glibc 2.3, Pentium4.

-- Joe

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Ben Greear
Sent: Tuesday, September 13, 2011 12:29 PM
To: Steven Simpson
Cc: [email protected]
Subject: Re: [Xorp-hackers] [PATCH] Support for IEEE754 binary64 format in XRLs

On 09/13/2011 09:21 AM, Steven Simpson wrote:
> On 13/09/11 17:14, Ben Greear wrote:
>> ./libxipc/xrl_atom.hh: In constructor ‘XrlAtom::XrlAtom(const
>> fp64_t&)’:
>> ./libxipc/xrl_atom.hh:336: warning: converting to ‘uint64_t’ from 
>> ‘const double’
>
> D'oh!
>
>       // fp64 constructors
>       explicit XrlAtom(const fp64_t&   value)
>       : _type(xrlatom_fp64), _have_data(true), _own(true), _u64val(value) 
> {}
>
> That _u64val should, of course, be _fp64val!

I figured that...but then it blows up again:

Maybe something funky with how math.h works on this system...

cc1: warnings being treated as errors
libxipc/fp64serial.c: In function ‘fp64enc’:
libxipc/fp64serial.c:58: warning: implicit declaration of function ‘fpclassify’
libxipc/fp64serial.c:58: warning: nested extern declaration of ‘fpclassify’
libxipc/fp64serial.c:63: error: ‘FP_ZERO’ undeclared (first use in this 
function)
libxipc/fp64serial.c:63: error: (Each undeclared identifier is reported only 
once
libxipc/fp64serial.c:63: error: for each function it appears in.)
libxipc/fp64serial.c:64: warning: implicit declaration of function ‘signbit’
libxipc/fp64serial.c:69: error: ‘FP_INFINITE’ undeclared (first use in this 
function)
libxipc/fp64serial.c:75: error: ‘FP_NAN’ undeclared (first use in this function)
libxipc/fp64serial.c:81: error: ‘FP_SUBNORMAL’ undeclared (first use in this 
function)
libxipc/fp64serial.c:82: error: ‘FP_NORMAL’ undeclared (first use in this 
function)
libxipc/fp64serial.c: In function ‘fp64dec’:
libxipc/fp64serial.c:151: error: ‘INFINITY’ undeclared (first use in this 
function)
libxipc/fp64serial.c:152: error: ‘NAN’ undeclared (first use in this function)
scons: *** [obj/i686-pc-linux-gnu/libxipc/fp64serial.os] Error 1
scons: building terminated because of errors.

>
> Sorry!
>
> _______________________________________________
> Xorp-hackers mailing list
> [email protected]
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers


--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to