From 6446d20030cbc75944af43479be379775d4736b6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Feb 2013 16:50:25 +0200 Subject: Disable non-const to const iterator comparison test for Sun CC's STLPort --- common/container/change-tracking/driver.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 (); -- cgit v1.1