summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNicholas Bastin <nick.bastin@gmail.com>2004-07-15 15:54:05 (GMT)
committerNicholas Bastin <nick.bastin@gmail.com>2004-07-15 15:54:05 (GMT)
commit9ba301e589b47af776294804240cc10e08e38498 (patch)
tree21d769d2fc87094a251a5e71956bf6da7914ec80 /Objects
parent95b66f3276552c0d9002953bc9036ce2fb442c7b (diff)
downloadcpython-9ba301e589b47af776294804240cc10e08e38498.zip
cpython-9ba301e589b47af776294804240cc10e08e38498.tar.gz
cpython-9ba301e589b47af776294804240cc10e08e38498.tar.bz2
Moved SunPro warning suppression into pyport.h and out of individual
modules and objects.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c4
-rw-r--r--Objects/listobject.c4
-rw-r--r--Objects/setobject.c4
-rw-r--r--Objects/unicodeobject.c4
4 files changed, 0 insertions, 16 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 252db8a..70f05e5 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -9,10 +9,6 @@
#include "Python.h"
-#ifdef __SUNPRO_C
-#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
-#endif
-
typedef PyDictEntry dictentry;
typedef PyDictObject dictobject;
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 4385e4b..ac8cd33 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2,10 +2,6 @@
#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 e94f920..289d5d3 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -10,10 +10,6 @@
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 00ccea8..6c73df4 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -41,10 +41,6 @@ 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