bug-gnulib
[Top][All Lists]
Advanced

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

Re: errors on QNX 6.4.1


From: Bruno Haible
Subject: Re: errors on QNX 6.4.1
Date: Mon, 27 Jul 2009 21:26:29 +0200
User-agent: KMail/1.9.9

Matt Kraai wrote:
> The changes for the math.h errors don't work, because @GNULIB_MATHL@ is 
> defined to 1, so the whole condition evaluates to true.

OK, I'm applying this additional attempt:

2009-07-27  Bruno Haible  <address@hidden>

        * lib/math.in.h (cosl, logl, sinl): Undefine before declaring it.
        Reported by Matt Kraai <address@hidden>.

--- lib/math.in.h.orig  2009-07-27 21:20:08.000000000 +0200
+++ lib/math.in.h       2009-07-27 21:19:56.000000000 +0200
@@ -149,6 +149,7 @@
 
 
 #if @GNULIB_MATHL@ || (address@hidden@ && !defined cosl)
+# undef cosl
 extern long double cosl (long double x);
 #endif
 #if address@hidden@ && defined GNULIB_POSIXCHECK
@@ -238,6 +239,7 @@
 
 
 #if @GNULIB_MATHL@ || (address@hidden@ && !defined logl)
+# undef logl
 extern long double logl (long double x);
 #endif
 #if address@hidden@ && defined GNULIB_POSIXCHECK
@@ -293,6 +295,7 @@
 
 
 #if @GNULIB_MATHL@ || (address@hidden@ && !defined sinl)
+# undef sinl
 extern long double sinl (long double x);
 #endif
 #if address@hidden@ && defined GNULIB_POSIXCHECK


> I forgot to mention that there's also a problem determining the 
> dependencies of getdate.y.  The command fails with the following error:
> 
> getdate.y:116: error: negative width in bit-field 
> 'verify_error_if_negative_size__'
> 
> I believe this is because time_t is unsigned on QNX.

You mentioned this already in [1]. The response that Paul and Jim gave at
that time is still valid.

Bruno


[1] http://lists.gnu.org/archive/html/bug-gnulib/2008-01/msg00161.html




reply via email to

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