0032402: Coding Rules - eliminate msvc warning C4668 (symbol is not defined as a...
[occt.git] / src / Standard / Standard_OutOfRange.hxx
index 25b07d6..2b81ded 100644 (file)
@@ -25,7 +25,7 @@
 class Standard_OutOfRange;
 DEFINE_STANDARD_HANDLE(Standard_OutOfRange, Standard_RangeError)
 
 class Standard_OutOfRange;
 DEFINE_STANDARD_HANDLE(Standard_OutOfRange, Standard_RangeError)
 
-#if (defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
+#if (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)))
   // suppress false-positive warnings produced by GCC optimizer
   #define Standard_OutOfRange_Always_Raise_if(CONDITION, MESSAGE) \
   _Pragma("GCC diagnostic push") \
   // suppress false-positive warnings produced by GCC optimizer
   #define Standard_OutOfRange_Always_Raise_if(CONDITION, MESSAGE) \
   _Pragma("GCC diagnostic push") \