diff --git a/panda/src/express/pointerToArray.h b/panda/src/express/pointerToArray.h index 85cc20df8a..de9a057ee6 100644 --- a/panda/src/express/pointerToArray.h +++ b/panda/src/express/pointerToArray.h @@ -74,7 +74,7 @@ #include "pointerTo.h" #include "pvector.h" -#if defined(WIN32_VC) || !defined(__INTEL_COMPILER) +#if defined(WIN32_VC) && !defined(__INTEL_COMPILER) // disable mysterious MSVC warning for static inline PTA::empty_array method // need to chk if vc 7.0 still has this problem, would like to keep it enabled #pragma warning (disable : 4506)