BIND 10 trac1991, updated. 5d2a22ac8f92c53a89a5f4507ac3946529b9d49e [1991] exclude clang++ for the check explicitly to avoid false positives

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 28 03:01:21 UTC 2012


The branch, trac1991 has been updated
       via  5d2a22ac8f92c53a89a5f4507ac3946529b9d49e (commit)
      from  4323bf82f07269a4f99a951b659749a5a1234ef2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5d2a22ac8f92c53a89a5f4507ac3946529b9d49e
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Dec 27 18:59:06 2012 -0800

    [1991] exclude clang++ for the check explicitly to avoid false positives
    
    this can happen with clang++ used via ccache

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 1868c9e..8227608 100644
--- a/configure.ac
+++ b/configure.ac
@@ -846,8 +846,9 @@ if test "$BOOST_OFFSET_PTR_FAILURE" = "yes"; then
 fi
 
 # There's a known bug in FreeBSD ports for Boost that would trigger a false
-# warning in build with g++ and -Werror
-if test "$BOOST_NUMERIC_CAST_WOULDFAIL" = "yes" -a X"$with_werror" = X1; then
+# warning in build with g++ and -Werror (we exclude clang++ explicitly to
+# avoid unexpected false positives).
+if test "$BOOST_NUMERIC_CAST_WOULDFAIL" = "yes" -a X"$with_werror" = X1 -a $CLANGPP = "no"; then
     AC_MSG_ERROR([Failed to compile a required header file.  If you are using FreeBSD and Boost installed via ports, retry with specifying --without-werror.  See the ChangeLog entry for Trac no. 1991 for more details.])
 fi
 



More information about the bind10-changes mailing list