autoconf
[Top][All Lists]
Advanced

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

Re: AC_C_LONG_DOUBLE is obsolescent.


From: Bob Friesenhahn
Subject: Re: AC_C_LONG_DOUBLE is obsolescent.
Date: Wed, 9 Apr 2008 19:32:59 -0500 (CDT)

On Wed, 9 Apr 2008, Eric Blake wrote:

long double is not an extension.  Did you mistake it with long long?

Indeed.  A closer look at C89 requires 'long double'.  Therefore,
AC_TYPE_LONG_DOUBLE should always succeed.

But AC_C_LONG_DOUBLE should report failure if 'long double' does not support a larger range than 'double' due to this documentation:

  "If the C compiler supports a working long double type with more
   range or precision than the double type, define HAVE_LONG_DOUBLE."

Based on the description, it seems that AC_TYPE_LONG_DOUBLE_WIDER is the new name for AC_C_LONG_DOUBLE but if it is used, then source code modifications are required.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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