Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
3c6703cb9c
2 changed files with 9 additions and 2 deletions
  1. 7 1
      panda/src/collide/collisionLevelState.I
  2. 2 1
      panda/src/putil/Sources.pp

+ 7 - 1
panda/src/collide/collisionLevelState.I

@@ -135,7 +135,13 @@ get_local_bound(int n) const {
   nassertr(n >= 0 && n < (int)_colliders.size(), NULL);
   nassertr(has_collider(n), NULL);
   nassertr(n >= 0 && n < (int)_local_bounds.size(), NULL);
-  return _local_bounds[n];
+
+  // For whatever reason, the Intel compiler can't figure this line
+  // out.
+  //return _local_bounds[n];
+
+  // But it can figure out this equivalent line.
+  return *(_local_bounds + n);
 }
 
 ////////////////////////////////////////////////////////////////////

+ 2 - 1
panda/src/putil/Sources.pp

@@ -26,7 +26,8 @@
     lineStreamBuf.cxx lineStreamBuf.h modifierButtons.I \
     modifierButtons.cxx modifierButtons.h \
     mouseButton.cxx mouseButton.h mouseData.cxx mouseData.h \
-    nameUniquifier.I nameUniquifier.cxx nameUniquifier.h pta_double.cxx \
+    nameUniquifier.I nameUniquifier.cxx nameUniquifier.h \
+    pointerToArray.I pointerToArray.h pta_double.cxx \
     pta_double.h pta_float.cxx pta_float.h pta_int.cxx pta_int.h \
     pta_uchar.cxx pta_uchar.h pta_ushort.cxx pta_ushort.h \
     string_utils.I string_utils.N string_utils.cxx string_utils.h \