summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNicholas Bastin <nick.bastin@gmail.com>2004-06-18 19:57:13 (GMT)
committerNicholas Bastin <nick.bastin@gmail.com>2004-06-18 19:57:13 (GMT)
commit9e1bfe7dd99a6678141bb2f9926b37ffe6b5e1b8 (patch)
tree4c4591bada91dd1bfd4ad310cc4040bbc9bb6746 /Objects
parent89a2dc72b1fb579776a109c47e97f228f7592f26 (diff)
downloadcpython-9e1bfe7dd99a6678141bb2f9926b37ffe6b5e1b8.zip
cpython-9e1bfe7dd99a6678141bb2f9926b37ffe6b5e1b8.tar.gz
cpython-9e1bfe7dd99a6678141bb2f9926b37ffe6b5e1b8.tar.bz2
Disabling end-of-loop code not reached warning on SunPro
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 70f05e5..252db8a 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -9,6 +9,10 @@
#include "Python.h"
+#ifdef __SUNPRO_C
+#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
+#endif
+
typedef PyDictEntry dictentry;
typedef PyDictObject dictobject;