aboutsummaryrefslogtreecommitdiff
path: root/common/container/change-tracking
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-12 16:50:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-12 16:50:25 +0200
commit6446d20030cbc75944af43479be379775d4736b6 (patch)
tree05e0dc9e57c1b682618e76c59a7070c6337f4a60 /common/container/change-tracking
parent913087c4e2bea1f36f8126feb0b58904666f237c (diff)
Disable non-const to const iterator comparison test for Sun CC's STLPort
Diffstat (limited to 'common/container/change-tracking')
-rw-r--r--common/container/change-tracking/driver.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/container/change-tracking/driver.cxx b/common/container/change-tracking/driver.cxx
index eaf23e1..78f7a7f 100644
--- a/common/container/change-tracking/driver.cxx
+++ b/common/container/change-tracking/driver.cxx
@@ -102,7 +102,10 @@ main (int argc, char* argv[])
if (i != ov.end ())
i = ov.end ();
-#ifndef _RWSTD_NO_CLASS_PARTIAL_SPEC
+ // Things are just really borken in Sun CC, no matter which STL
+ // you use.
+ //
+#ifndef __SUNPRO_CC
vector::const_reverse_iterator j (ov.rbegin ());
if (j != ov.rend ())
j = ov.rend ();