summaryrefslogtreecommitdiffstats
path: root/Modules
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 /Modules
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 'Modules')
-rw-r--r--Modules/_sre.c4
-rw-r--r--Modules/collectionsmodule.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 6ee0bb8..4be33d0 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -34,10 +34,6 @@
* other compatibility work.
*/
-#ifdef __SUNPRO_C
-#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
-#endif
-
#ifndef SRE_RECURSIVE
static char copyright[] =
diff --git a/Modules/collectionsmodule.c b/Modules/collectionsmodule.c
index 367b444..c72c7a6 100644
--- a/Modules/collectionsmodule.c
+++ b/Modules/collectionsmodule.c
@@ -1,10 +1,6 @@
#include "Python.h"
#include "structmember.h"
-#ifdef __SUNPRO_C
-#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
-#endif
-
/* collections module implementation of a deque() datatype
Written and maintained by Raymond D. Hettinger <python@rcn.com>
Copyright (c) 2004 Python Software Foundation.