Re: AC_C_LONG_DOUBLE is obsolescent.

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

 



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
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux