autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_C_LONG_DOUBLE is wrong on IRIX 5.3


From: Paul Eggert
Subject: Re: AC_C_LONG_DOUBLE is wrong on IRIX 5.3
Date: Wed, 7 Nov 2001 11:09:11 -0800 (PST)

> From: Oliver Kiddle <address@hidden>
> Date: Wed, 07 Nov 2001 14:03:23 +0000

But isn't this the correct answer on Irix?  long double is supported
and is equivalent to 'double'.  The C standard allows 'long double'
to be equivalent to 'double'.

The compiler warnings are admittedly annoying, but you can ignore them.

> -  exit (sizeof (long double) < sizeof (double));
> +  exit (sizeof (long double) <= sizeof (double));

This patch isn't correct, as the two sizes can be equal on conforming
implementations.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]