[Python-checkins] python/dist/src/Objects dictobject.c, 2.161,
2.162 listobject.c, 2.206, 2.207 setobject.c, 1.28,
1.29 unicodeobject.c, 2.216, 2.217
mondragon at users.sourceforge.net
mondragon at users.sourceforge.net
Thu Jul 15 17:54:10 CEST 2004
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28803/Objects
Modified Files:
dictobject.c listobject.c setobject.c unicodeobject.c
Log Message:
Moved SunPro warning suppression into pyport.h and out of individual
modules and objects.
Index: dictobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/dictobject.c,v
retrieving revision 2.161
retrieving revision 2.162
diff -C2 -d -r2.161 -r2.162
*** dictobject.c 18 Jun 2004 19:57:13 -0000 2.161
--- dictobject.c 15 Jul 2004 15:54:04 -0000 2.162
***************
*** 10,17 ****
#include "Python.h"
- #ifdef __SUNPRO_C
- #pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
- #endif
-
typedef PyDictEntry dictentry;
typedef PyDictObject dictobject;
--- 10,13 ----
Index: listobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/listobject.c,v
retrieving revision 2.206
retrieving revision 2.207
diff -C2 -d -r2.206 -r2.207
*** listobject.c 17 Jun 2004 18:27:18 -0000 2.206
--- listobject.c 15 Jul 2004 15:54:05 -0000 2.207
***************
*** 3,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>
--- 3,6 ----
Index: setobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/setobject.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** setobject.c 17 Jun 2004 18:27:18 -0000 1.28
--- setobject.c 15 Jul 2004 15:54:05 -0000 1.29
***************
*** 11,18 ****
*/
- #ifdef __SUNPRO_C
- #pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
- #endif
-
static PyObject *
set_update(PySetObject *so, PyObject *other)
--- 11,14 ----
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.216
retrieving revision 2.217
diff -C2 -d -r2.216 -r2.217
*** unicodeobject.c 10 Jul 2004 12:04:20 -0000 2.216
--- unicodeobject.c 15 Jul 2004 15:54:05 -0000 2.217
***************
*** 42,49 ****
#include "ucnhash.h"
- #ifdef __SUNPRO_C
- #pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
- #endif
-
#ifdef MS_WINDOWS
#include <windows.h>
--- 42,45 ----
More information about the Python-checkins
mailing list