diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-12 16:50:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-12 16:50:25 +0200 |
commit | 6446d20030cbc75944af43479be379775d4736b6 (patch) | |
tree | 05e0dc9e57c1b682618e76c59a7070c6337f4a60 /common | |
parent | 913087c4e2bea1f36f8126feb0b58904666f237c (diff) |
Disable non-const to const iterator comparison test for Sun CC's STLPort
Diffstat (limited to 'common')
-rw-r--r-- | common/container/change-tracking/driver.cxx | 5 |
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 (); |