[bind10-dev] Fw: building on FreeBSD 10
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Mon Feb 13 16:15:21 UTC 2012
At Mon, 13 Feb 2012 11:51:06 +0100,
Shane Kerr <shane at isc.org> wrote:
> I pulled this from a thread on the BIND 10 users' list.
>
> The latest FreeBSD seems to have a patched version of g++ that breaks
> our detection for old versions of g++. It doesn't actually fix enough
> that our build completes though.
>
> Any ideas how to resolve this so that FreeBSD 10 builds without pain?
For this specific type of problem (i.e., a false warning that trigger
-Werror failure), I suggested this:
http://bind10.isc.org/ticket/1671
If we want a more automatic way, we could detect the compiler bug with
AC_TRY_COMPILE([boost::numeric_cast<uint16_t>(length);])
but if it's only due to an internal patch to the compiler on a
particular version of particular OS, I'm not sure if it's worth the
additional hack in configure.ac.
We might also report it to FreeBSD.
---
JINMEI, Tatuya
More information about the bind10-dev
mailing list