[Python-checkins] CVS: distutils/distutils bcppcompiler.py,1.3,1.4

Greg Ward python-dev@python.org
Sat, 12 Aug 2000 17:43:18 -0700


Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4835

Modified Files:
	bcppcompiler.py 
Log Message:
Rene Liebscher:
  * changed some list.extend([...]) to list.append(...)
  * added '/g0' to compiler_options, so compiler doesn't
    stop after 100 warnings


Index: bcppcompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/bcppcompiler.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** bcppcompiler.py	2000/08/04 01:30:03	1.3
--- bcppcompiler.py	2000/08/13 00:43:16	1.4
***************
*** 68,73 ****
  
          self.preprocess_options = None
!         self.compile_options = ['/tWM', '/O2', '/q']
!         self.compile_options_debug = ['/tWM', '/Od', '/q']
  
          self.ldflags_shared = ['/Tpd', '/Gn', '/q', '/x']
--- 68,73 ----
  
          self.preprocess_options = None
!         self.compile_options = ['/tWM', '/O2', '/q', '/g0']
!         self.compile_options_debug = ['/tWM', '/Od', '/q', '/g0']
  
          self.ldflags_shared = ['/Tpd', '/Gn', '/q', '/x']
***************
*** 233,237 ****
              # a Borland-like one, or create one with name bcpp_python15.lib 
              # there and remove the pragmas from config.h  
-             #libraries.append ('mypylib')            
              libraries.append ('import32')
              libraries.append ('cw32mt')
--- 233,236 ----
***************
*** 258,262 ****
              ld_args.extend([',',output_filename])
              # no map file and start libraries 
!             ld_args.extend([',', ','])
  
              for lib in libraries:
--- 257,261 ----
              ld_args.extend([',',output_filename])
              # no map file and start libraries 
!             ld_args.append(',,')
  
              for lib in libraries: