summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index ac8cd33..4385e4b 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2,6 +2,10 @@
#include "Python.h"
+#ifdef __SUNPRO_C
+#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
+#endif
+
#ifdef STDC_HEADERS
#include <stddef.h>
#else