diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/listobject.c | 4 | ||||
-rw-r--r-- | Objects/setobject.c | 4 | ||||
-rw-r--r-- | Objects/unicodeobject.c | 4 |
3 files changed, 12 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 diff --git a/Objects/setobject.c b/Objects/setobject.c index 289d5d3..e94f920 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -10,6 +10,10 @@ All rights reserved. */ +#ifdef __SUNPRO_C +#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED) +#endif + static PyObject * set_update(PySetObject *so, PyObject *other) { diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 0858525..cf730e5 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -41,6 +41,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "unicodeobject.h" #include "ucnhash.h" +#ifdef __SUNPRO_C +#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED) +#endif + #ifdef MS_WINDOWS #include <windows.h> #endif |