BIND 10 master, updated. 3c5fd61a4a294c75b6e90dd5a78aec980c387432 [master] use reverse_iterator instead of const_reverse_iterator in a for loop. this is a workaround for build problem for the solaris buildbot (both g++ and sunstudio); they don't seem to work well with the const iterator in operator!=.

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Oct 22 05:23:24 UTC 2011


The branch, master has been updated
       via  3c5fd61a4a294c75b6e90dd5a78aec980c387432 (commit)
      from  4e4e22281cd1c9dbec42d7c0a2842c92a69b1e8e (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 3c5fd61a4a294c75b6e90dd5a78aec980c387432
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Sat Oct 22 05:21:53 2011 +0000

    [master] use reverse_iterator instead of const_reverse_iterator in a for loop.
    this is a workaround for build problem for the solaris buildbot (both g++ and
    sunstudio); they don't seem to work well with the const iterator in operator!=.

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

Summary of changes:
 src/bin/auth/tests/query_unittest.cc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/query_unittest.cc b/src/bin/auth/tests/query_unittest.cc
index 5b15b64..c5eb231 100644
--- a/src/bin/auth/tests/query_unittest.cc
+++ b/src/bin/auth/tests/query_unittest.cc
@@ -341,7 +341,9 @@ MockZoneFinder::find(const Name& name, const RRType& type,
         }
 
         // Normal case
-        for (Domains::const_reverse_iterator it = domains_.rbegin();
+        // XXX: some older g++ complains about operator!= if we use
+        // const_reverse_iterator
+        for (Domains::reverse_iterator it = domains_.rbegin();
              it != domains_.rend();
              ++it) {
             RRsetStore::const_iterator nsec_it;




More information about the bind10-changes mailing list