From 9e1bfe7dd99a6678141bb2f9926b37ffe6b5e1b8 Mon Sep 17 00:00:00 2001 From: Nicholas Bastin Date: Fri, 18 Jun 2004 19:57:13 +0000 Subject: [PATCH] Disabling end-of-loop code not reached warning on SunPro --- Objects/dictobject.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 70f05e5def3..252db8ad910 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;