Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Apr 2016 18:02:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208469] databases/firebird25-client: Fix build with libc++ 3.8.0
Message-ID:  <bug-208469-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208469

            Bug ID: 208469
           Summary: databases/firebird25-client: Fix build with libc++
                    3.8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org

Created attachment 168904
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168904&action=
=3Dedit
Disable custom isinf declaration in firebird25

During the exp-run in bug 208158, it was found that databases/firebird25-cl=
ient
gives errors with libc++ 3.8.0 [1]:

../src/common/cvt.cpp:1214:8: error: call to 'isinf' is ambiguous
                        if (isinf(value))
                            ^~~~~
/usr/include/c++/v1/math.h:404:1: note: candidate function [with _A1 =3D do=
uble]
isinf(_A1 __lcpp_x) _NOEXCEPT
^
../src/common/../common/classes/FpeControl.h:228:13: note: candidate functi=
on
[with F =3D double]
inline bool isinf(F x)
            ^

This is because the FpeControl.h only checks whether there is a macro called
isinf, but libc++ has a *function* isinf() instead.  The fix is to not atte=
mpt
to redefine isinf() on FreeBSD, like in the attached patch.

[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_=
18h30m05s/logs/errors/firebird25-client-2.5.4_3.log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208469-13>