[Python.NET] problems with mono 1.1.13.4 and PythonNet beta 5
Mathew Yeates
myeates at jpl.nasa.gov
Wed Mar 22 02:18:21 CET 2006
Hi
I get an error when trying to create Python.Runtime.dll
.\Python.cs(170,3): error CS0245: Destructors and object.Finalize cannot
be called directly. Consider calling IDisposable.Dispose if available
this error is preceded by a bunch of warnings (see below). Any ideas?
Mathew
------------------------------------------------------------------------------
.\AssemblyManager.cs(68,23): warning CS0465: Introducing a 'Finalize'
method can
interfere with destructor invocation. Did you intend to declare a
destructor?
.\Exceptions.cs(48,23): warning CS0465: Introducing a 'Finalize' method
can inte
rfere with destructor invocation. Did you intend to declare a destructor?
.\ImportHook.cs(59,23): warning CS0465: Introducing a 'Finalize' method
can inte
rfere with destructor invocation. Did you intend to declare a destructor?
.\PyObject.cs(127,14): warning CS0465: Introducing a 'Finalize' method
can inter
fere with destructor invocation. Did you intend to declare a destructor?
.\Python.cs(168,21): warning CS0465: Introducing a 'Finalize' method can
interfe
re with destructor invocation. Did you intend to declare a destructor?
.\PythonException.cs(103,14): warning CS0465: Introducing a 'Finalize'
method ca
n interfere with destructor invocation. Did you intend to declare a
destructor?
.\Runtime.cs(115,23): warning CS0465: Introducing a 'Finalize' method
can interf
ere with destructor invocation. Did you intend to declare a destructor?
.\ClassObject.cs(125,18): warning CS0219: The variable `self' is
assigned but it
s value is never used
.\ClassObject.cs(170,18): warning CS0219: The variable `self' is
assigned but it
s value is never used
.\ClassObject.cs(233,18): warning CS0219: The variable `self' is
assigned but it
s value is never used
.\Converter.cs(501,2): warning CS0162: Unreachable code detected
.\DelegateManager.cs(246,7): warning CS0219: The variable `r' is
assigned but it
s value is never used
.\MetaType.cs(52,13): warning CS0219: The variable `name' is assigned
but its va
lue is never used
.\PropertyObject.cs(47,13): warning CS0219: The variable `ts' is
assigned but it
s value is never used
.\PropertyObject.cs(102,13): warning CS0219: The variable `ts' is
assigned but i
ts value is never used
More information about the PythonDotNet
mailing list