BIND 10 trac2340, created. c629dec43601cd76158bef6aa8b76cea84181fc2 [clang-build] added workaround for the clang++ "unused arguments" warn/error.

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 8 07:06:51 UTC 2012


The branch, trac2340 has been created
        at  c629dec43601cd76158bef6aa8b76cea84181fc2 (commit)

- Log -----------------------------------------------------------------
commit c629dec43601cd76158bef6aa8b76cea84181fc2
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 23:53:26 2012 -0700

    [clang-build] added workaround for the clang++ "unused arguments" warn/error.
    
    by specifying -Qunused-arguments.  Also, as a cleanup for better organization
    I moved compiler specific settings to earlier part of configure.ac, where
    this workaround was added.

commit e4bd572168b357f9803ce9c5d96ff3a95d935b81
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 21:20:52 2012 -0700

    [clang-build] Revert "[clang-build] specify thread flag as part CPPFLAGS, not LDFLAGS."
    
    This reverts commit daf81c8846bf0b4e4308068a019c96beb09c5199.
    
    I believe the sense of the change is correct, but it has effects on
    other OSes, so it's probably better to use clang specific workaround
    (will commit it later).

commit b211a060119605ebbded0a94f070009b7a8bb5ce
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 21:19:23 2012 -0700

    [clang-build] Revert "[clang-build] specify -pthread in CXXFLAGS and via system-indepedent variable."
    
    This reverts commit d62a1e4250c88e765b3cd7f77fe9a948db0a565d.
    
    I believe the sense of the change is correct, but it has effects on
    other OSes, so it's probably better to use clang specific workaround
    (will commit it later).

commit d62a1e4250c88e765b3cd7f77fe9a948db0a565d
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 14:12:02 2012 -0700

    [clang-build] specify -pthread in CXXFLAGS and via system-indepedent variable.
    
    specifying it in LDFLAGS would trigger build error with some versions of clang.
    hardcoding "-pthread" is less portable.

commit 9ea5133b172ccde43427f9658f5be2ba5d497b34
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 12:34:55 2012 -0700

    [clang-build] removed an effectively unused variable.  clang would complain.

commit daf81c8846bf0b4e4308068a019c96beb09c5199
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 12:20:34 2012 -0700

    [clang-build] specify thread flag as part CPPFLAGS, not LDFLAGS.
    
    newer version of clang treats the latter as a fatal error.

commit 23da2f078af486c381649611d2987c24a538739a
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sun Oct 7 10:13:58 2012 -0700

    [clang-build] explictly define destructor of mostly empty template class.
    
    without this new versions of clang++ seem to complain that instantiation of
    the class results in an unused variable.

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



More information about the bind10-changes mailing list