Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Simon Josefsson
Jim Meyering [EMAIL PROTECTED] writes: In wading through coreutils build reports for 60+ systems, I see a new failure: strtod.c: In function `rpl_strtod': strtod.c:155: error: incompatible types in assignment strtod.c:170: error: incompatible types in assignment strtod.c:257:

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Jim Meyering
Simon Josefsson [EMAIL PROTECTED] wrote: Jim Meyering [EMAIL PROTECTED] writes: In wading through coreutils build reports for 60+ systems, I see a new failure: strtod.c: In function `rpl_strtod': strtod.c:155: error: incompatible types in assignment strtod.c:170: error: incompatible

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 4/12/2008 1:46 AM: | In wading through coreutils build reports for 60+ systems, I see a new failure: | | strtod.c: In function `rpl_strtod': | strtod.c:155: error: incompatible types in assignment | strtod.c:170:

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Jim Meyering
Eric Blake [EMAIL PROTECTED] wrote: According to Jim Meyering on 4/12/2008 1:46 AM: | In wading through coreutils build reports for 60+ systems, I see a new failure: | | strtod.c: In function `rpl_strtod': | strtod.c:155: error: incompatible types in assignment | strtod.c:170: error:

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 4/12/2008 6:40 AM: | Thanks for the quick reply (yes, I owe you at least one ;-). | | These are from gcc, so I looked in gcc's own extend.texi | and saw that they are functions. Here are examples that compile: | |

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 4/12/2008 6:47 AM: | Aha. Solaris 10 has a buggy math.h - it defines NAN and HUGE_VAL | incorrectly (to the value of the builtin function address, and not the | result of calling the function), which totally explains the

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Jim Meyering
Eric Blake [EMAIL PROTECTED] wrote: According to Eric Blake on 4/12/2008 6:47 AM: | Aha. Solaris 10 has a buggy math.h - it defines NAN and HUGE_VAL | incorrectly (to the value of the builtin function address, and not the | result of calling the function), which totally explains the compiler

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Jim Meyering
Jim Meyering [EMAIL PROTECTED] wrote: Eric Blake [EMAIL PROTECTED] wrote: According to Eric Blake on 4/12/2008 6:47 AM: | Aha. Solaris 10 has a buggy math.h - it defines NAN and HUGE_VAL | incorrectly (to the value of the builtin function address, and not the | result of calling the

Re: strtod.c compilation failure on i386/Solaris 10

2008-04-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 4/12/2008 11:06 AM: | | Eric, this may fix it. We don't have a module yet that provides the generic | isnan() macro. But we have a module 'isnand-nolibm', which the test already | uses. | | OK to commit? Yes, please