From a011d5f9bf659af85f0896e014bad87b1cbaf04d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 8 Jul 2016 19:05:01 -0400 Subject: [PATCH] Fix "Error: The operand ___LKDB cannot be assigned to" under Sun Studio 12.5 (formerly Issue 188) --- integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integer.cpp b/integer.cpp index cfc70e0e..a4642e3e 100644 --- a/integer.cpp +++ b/integer.cpp @@ -45,7 +45,7 @@ #endif // "Error: The operand ___LKDB cannot be assigned to", http://github.com/weidai11/cryptopp/issues/188 -#if (__SUNPRO_CC == 0x5130) +#if (__SUNPRO_CC >= 0x5130) # define MAYBE_CONST # define MAYBE_UNCONST_CAST const_cast #else