[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: frexpl on Solaris, Cygwin
From: |
Bruno Haible |
Subject: |
Re: frexpl on Solaris, Cygwin |
Date: |
Mon, 5 Apr 2010 14:58:48 +0100 |
User-agent: |
KMail/1.9.9 |
> ../gllib/math.h:620: error: 'frexpl' was not declared in this scope
>
> Again, the problem is that REPLACE_FREXPL is set when the function does
> not exist. This fixes it.
Oops, it did not fix it, because gl_FUNC_FREXPL_NO_LIBM can still set
REPLACE_FREXPL=1 when the function exists. I'm applying this:
2010-04-05 Bruno Haible <address@hidden>
frexpl: Fix a C++ test error on Solaris 8 and Cygwin.
* lib/math.in.h (frexpl): Fix condition on _GL_CXXALIASWARN invocation.
--- lib/math.in.h.orig Mon Apr 5 15:56:24 2010
+++ lib/math.in.h Mon Apr 5 15:55:49 2010
@@ -322,7 +322,7 @@
_GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr));
# endif
#endif
-#if @GNULIB_FREXPL@
+#if @GNULIB_FREXPL@ && !(@REPLACE_FREXPL@ && address@hidden@)
_GL_CXXALIASWARN (frexpl);
#endif
#if address@hidden@ && defined GNULIB_POSIXCHECK