[Python-checkins] python/dist/src/Modules collectionsmodule.c, 1.16, 1.17 _sre.c, 2.105, 2.106

mondragon at users.sourceforge.net mondragon at users.sourceforge.net
Thu Jun 17 14:27:20 EDT 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17704/Modules

Modified Files:
	collectionsmodule.c _sre.c 
Log Message:
Fixed end-of-loop code not reached warning when using SunPro C


Index: collectionsmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/collectionsmodule.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** collectionsmodule.c	30 May 2004 07:26:46 -0000	1.16
--- collectionsmodule.c	17 Jun 2004 18:27:16 -0000	1.17
***************
*** 2,5 ****
--- 2,9 ----
  #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 at rcn.com>

Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.105
retrieving revision 2.106
diff -C2 -d -r2.105 -r2.106
*** _sre.c	31 May 2004 03:09:24 -0000	2.105
--- _sre.c	17 Jun 2004 18:27:16 -0000	2.106
***************
*** 35,38 ****
--- 35,42 ----
   */
  
+ #ifdef __SUNPRO_C
+ #pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
+ #endif
+ 
  #ifndef SRE_RECURSIVE
  




More information about the Python-checkins mailing list