Dear IPy Team, Change Set: 2330 is not free from bugs those reported by Sanghyeon Seo. Please apply the patch provided by himself (Thanks Sanghyeon Seo !!).
After applying the patch, it still has many compilation warnings. See the attachment. Regards, 2006/7/19, Sanghyeon Seo wrote:
The latest source from CodePlex fails to compile on Mono with: IronPython/Runtime/Operations/Ops.cs(1336,13): error CS0411: The type arguments for method `AddRange' cannot be infered from the usage. Try specifying the type arguments explicitly. IronPython/Runtime/Operations/Ops.cs(1413,13): error CS0411: The type arguments for method `AddRange' cannot be infered from the usage. Try specifying the type arguments explicitly. A simple workaround is attached. _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
$ gmcs --version Mono C# compiler version 1.1.16.1 $ make gmcs -t:library -out:../IronMath.dll -recurse:IronMath/*.cs IronMath/BigInteger.cs(230,13): warning CS0642: Possible mistaken empty statement Compilation succeeded - 1 warning(s) gmcs -t:library -r:../IronMath.dll -r:System.Drawing.dll -r:System.Design.dll -out:../IronPython.dll -recurse:IronPython/*.cs IronPython/Compiler/MethodBinder.cs(963,22): warning CS0219: The variable `returnType' is assigned but its value is never used IronPython/Compiler/AST/Statements.cs(529,19): warning CS0219: The variable `beforeFinally' is assigned but its value is never used IronPython/Modules/Builtin.cs(529,33): warning CS0219: The variable `modType' is assigned but its value is never used IronPython/Modules/cPickle.cs(510,29): warning CS0219: The variable `intCode' is assigned but its value is never used IronPython/Modules/nt.cs(744,20): warning CS0219: The variable `message' is assigned but its value is never used IronPython/Modules/socket.cs(1509,22): warning CS0219: The variable `flowInfo' is assigned but its value is never used IronPython/Runtime/Types/Mro.cs(101,21): warning CS0219: The variable `lastRemove' is assigned but its value is never used IronPython/Compiler/Generation/Slot.cs(330,34): warning CS0414: The private field `IronPython.Compiler.Generation.LocalSlot.codeGen' is assigned but its value is never used IronPython/Hosting/PythonEngine.cs(367,22): warning CS0169: The private method `IronPython.Hosting.PythonEngine.ExecuteSnippet(IronPython.Compiler.Parser, IronPython.Runtime.ModuleScope)' is never used IronPython/Modules/cPickle.cs(1367,28): warning CS0169: The private method `IronPython.Modules.PythonPickle.Unpickler.ReadLine()' is never used IronPython/Runtime/Converter.cs(475,38): warning CS0414: The private field `IronPython.Runtime.Converter.ArrayListType' is assigned but its value is never used IronPython/Runtime/Converter.cs(478,38): warning CS0414: The private field `IronPython.Runtime.Converter.ListOfTType' is assigned but its value is never used IronPython/Runtime/Converter.cs(480,38): warning CS0414: The private field `IronPython.Runtime.Converter.HashtableType' is assigned but its value is never used IronPython/Runtime/Converter.cs(481,38): warning CS0414: The private field `IronPython.Runtime.Converter.ListWrapperForIListType' is assigned but its value is never used IronPython/Runtime/Converter.cs(484,38): warning CS0414: The private field `IronPython.Runtime.Converter.DictWrapperForIDictType' is assigned but its value is never used IronPython/Runtime/ModuleScope.cs(44,31): warning CS0414: The private field `IronPython.Runtime.ModuleScope.__builtin__' is assigned but its value is never used IronPython/Runtime/calls/kwargbinder.cs(46,32): warning CS0414: The private field `IronPython.Runtime.Calls.KwArgBinder.ctx' is assigned but its value is never used Compilation succeeded - 17 warning(s) gmcs -t:exe -r:../IronPython.dll -out:../ipy.exe -recurse:IronPythonConsole/*.cs gmcs -t:winexe -r:../IronPython.dll -define:IRONPYTHON_WINDOW -out:../ipyw.exe -recurse:IronPythonConsole/*.cs IronPythonConsole/PythonCommandLine.cs(417,29): warning CS0169: The private method `IronPythonConsole.PythonCommandLine.RunStartup(IronPython.Hosting.PythonEngine)' is never used IronPythonConsole/PythonCommandLine.cs(701,28): warning CS0169: The private method `IronPythonConsole.PythonCommandLine.RunInteractive()' is never used IronPythonConsole/PythonCommandLine.cs(735,29): warning CS0169: The private method `IronPythonConsole.PythonCommandLine.DefaultExceptionHandler(object, System.UnhandledExceptionEventArgs)' is never used Compilation succeeded - 3 warning(s) mkdir IronPythonTest/bin/Debug gmcs -t:library -r:../IronMath.dll -r:../IronPython.dll -out:IronPythonTest/bin/Debug/IronPythonTest.dll -recurse:IronPythonTest/*.cs IronPythonTest/DeTest.cs(151,26): warning CS0219: The variable `dts2' is assigned but its value is never used IronPythonTest/InheritTest.cs(792,49): warning CS0183: The given expression is always of the provided (`IronPythonTest.StrangeOverrides') type IronPythonTest/InheritTest.cs(797,49): warning CS0183: The given expression is always of the provided (`IronPythonTest.StrangeOverrides') type IronPythonTest/InheritTest.cs(802,49): warning CS0183: The given expression is always of the provided (`IronPythonTest.StrangeOverrides') type IronPythonTest/BinderTest.cs(210,14): warning CS0169: The private method `IronPythonTest.BinderTest.COtherOverloadConcern.M100(int)' is never used IronPythonTest/DeTest.cs(41,14): warning CS0169: The private method `IronPythonTest.DeTestStruct.Init()' is never used IronPythonTest/EngineTest.cs(63,21): warning CS0169: The private property `IronPythonTest.ClsPart.privateProperty' is never used IronPythonTest/EngineTest.cs(65,21): warning CS0169: The private method `IronPythonTest.ClsPart.privateMethod(int)' is never used IronPythonTest/EngineTest.cs(71,21): warning CS0169: The private method `IronPythonTest.ClsPart.privateStaticMethod()' is never used IronPythonTest/EngineTest.cs(593,21): warning CS0169: The private method `IronPythonTest.EngineTest.ThrowException()' is never used IronPythonTest/InheritTest.cs(337,24): warning CS0414: The private field `IronPythonTest.Inherited.str' is assigned but its value is never used Compilation succeeded - 11 warning(s)
_______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
