From 3c6703cb9c259e5fb18c961b17fddfa5a9e3b0b0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 24 Jan 2001 20:22:09 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/collide/collisionLevelState.I | 8 +++++++- panda/src/putil/Sources.pp | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/panda/src/collide/collisionLevelState.I b/panda/src/collide/collisionLevelState.I index 6b098122bc..0ec7648fc4 100644 --- a/panda/src/collide/collisionLevelState.I +++ b/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); } //////////////////////////////////////////////////////////////////// diff --git a/panda/src/putil/Sources.pp b/panda/src/putil/Sources.pp index 1ac4daf7c4..3cf1d59d66 100644 --- a/panda/src/putil/Sources.pp +++ b/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 \