[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signbit issues
From: |
Vlad Zakharov |
Subject: |
Re: signbit issues |
Date: |
Thu, 29 Sep 2016 10:21:36 +0000 |
Hello,
I found the same issue as discussed in this thread.
I tried to build "lftp" package for both ARC and ARM architectures using GCC
6.2 and an error occurred:
---------------------------------->8------------------------------------
../lib/math.h:2577:1: error: ‘int signbit(float)’ conflicts with a previous
declaration
_GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit)
---------------------------------->8------------------------------------
But when I am building it using GCC 4 or 5, I don't see any errors.
Lftp uses lib/math.h from gnulib. As I have mentioned the patch you attached
earlier in the thread was already applied,
so issue must occur for some other reason.
Any ideas?
Thanks.
On Sat, 2016-02-20 at 07:56 -0800, Paul Eggert wrote:
> Orion Poplawski wrote:
> >
> >
> > Some comments from fedora-devel:
> >
> > https://lists.fedoraproject.org/archives/list/address@hidden/message/UY3VX3W7XEXYTUKHG5BALU4ACUD7ZLGE
> > /
>
> Thanks, I didn't understand those comments about #defining signbit to 1, but
> it
> does appear that the recent patch should apply only if C++11 or later, so I
> installed the attached further patch into gnulib.
--
Best regards,
Vlad Zakharov <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: signbit issues,
Vlad Zakharov <=