diff options
author | Greg Ward <gward@python.net> | 2000-08-13 00:43:16 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-08-13 00:43:16 (GMT) |
commit | a4662bc1bc0fc619b5ef33a0b26e0c5de175f117 (patch) | |
tree | 1c0250b3d75b39eff3123f363c027bae5d0ff9c2 /Lib | |
parent | a35c931eb2349423ed5f986f699d7ec22924101d (diff) | |
download | cpython-a4662bc1bc0fc619b5ef33a0b26e0c5de175f117.zip cpython-a4662bc1bc0fc619b5ef33a0b26e0c5de175f117.tar.gz cpython-a4662bc1bc0fc619b5ef33a0b26e0c5de175f117.tar.bz2 |
Rene Liebscher:
* changed some list.extend([...]) to list.append(...)
* added '/g0' to compiler_options, so compiler doesn't
stop after 100 warnings
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/bcppcompiler.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/distutils/bcppcompiler.py b/Lib/distutils/bcppcompiler.py index 1d897de..9304902 100644 --- a/Lib/distutils/bcppcompiler.py +++ b/Lib/distutils/bcppcompiler.py @@ -67,8 +67,8 @@ class BCPPCompiler(CCompiler) : self.lib = "tlib.exe" self.preprocess_options = None - self.compile_options = ['/tWM', '/O2', '/q'] - self.compile_options_debug = ['/tWM', '/Od', '/q'] + self.compile_options = ['/tWM', '/O2', '/q', '/g0'] + self.compile_options_debug = ['/tWM', '/Od', '/q', '/g0'] self.ldflags_shared = ['/Tpd', '/Gn', '/q', '/x'] self.ldflags_shared_debug = ['/Tpd', '/Gn', '/q', '/x'] @@ -232,7 +232,6 @@ class BCPPCompiler(CCompiler) : # either exchange python15.lib in the python libs directory against # 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') @@ -257,7 +256,7 @@ class BCPPCompiler(CCompiler) : # name of dll file ld_args.extend([',',output_filename]) # no map file and start libraries - ld_args.extend([',', ',']) + ld_args.append(',,') for lib in libraries: # see if we find it and if there is a bcpp specific lib |