Remove -dirvtable from the optimizations included by -O as it this option currently leads to memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b966af251b
commit
f6ce153f8f
2 changed files with 6 additions and 3 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.41 (in progress)
|
Version 1.3.41 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
2010-02-27: wsfulton
|
||||||
|
[Python] Remove -dirvtable from the optimizations included by -O as it this option
|
||||||
|
currently leads to memory leaks as reported by Johan Blake.
|
||||||
|
|
||||||
2010-02-13: wsfulton
|
2010-02-13: wsfulton
|
||||||
[Ruby] A few fixes for compiling under ruby-1.9.x including patch from 'Nibble'.
|
[Ruby] A few fixes for compiling under ruby-1.9.x including patch from 'Nibble'.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,8 +143,8 @@ static const char *usage3 = (char *) "\
|
||||||
-proxydel - Generate a __del__ method even though it is now redundant (default) \n\
|
-proxydel - Generate a __del__ method even though it is now redundant (default) \n\
|
||||||
-safecstrings - Use safer (but slower) C string mapping, generating copies from Python -> C/C++\n\
|
-safecstrings - Use safer (but slower) C string mapping, generating copies from Python -> C/C++\n\
|
||||||
-threads - Add thread support for all the interface\n\
|
-threads - Add thread support for all the interface\n\
|
||||||
-O - Enable all the optimization options: \n\
|
-O - Enable the following optimization options: \n\
|
||||||
-modern -fastdispatch -dirvtable -nosafecstrings -fvirtual -noproxydel \n\
|
-modern -fastdispatch -nosafecstrings -fvirtual -noproxydel \n\
|
||||||
-fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone \n\
|
-fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone \n\
|
||||||
-py3 - Generate code with Python 3 specific features:\n\
|
-py3 - Generate code with Python 3 specific features:\n\
|
||||||
Function annotation \n\
|
Function annotation \n\
|
||||||
|
|
@ -405,7 +405,6 @@ public:
|
||||||
} else if (strcmp(argv[i], "-O") == 0) {
|
} else if (strcmp(argv[i], "-O") == 0) {
|
||||||
classic = 0;
|
classic = 0;
|
||||||
modern = 1;
|
modern = 1;
|
||||||
dirvtable = 1;
|
|
||||||
safecstrings = 0;
|
safecstrings = 0;
|
||||||
buildnone = 0;
|
buildnone = 0;
|
||||||
nobuildnone = 1;
|
nobuildnone = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue