[IronPython] how to build ironpython on ubuntu from sources?

Jeff Hardy jdhardy at gmail.com
Fri Jan 7 23:56:35 CET 2011


Ben, this is awesome.

On Fri, Jan 7, 2011 at 2:44 PM, ben kuin <benkuin at gmail.com> wrote:
> Errors:
>
> ~/src/ironpython/main/Solutions/IronPython.sln (default targets) ->
> (Build target) ->
> ~/src/ironpython/main/Runtime/Microsoft.Dynamic/Microsoft.Dynamic.csproj
> (default targets) ->
> usr/local/mono/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->
>
>        Actions/DefaultBinder.Conversions.cs(48,18): error CS0219: The
> variable `knownType' is assigned but its value is never used
>        Utils/EnumUtils.cs(37,68): error CS0675: The operator `|' used on the
> sign-extended type `sbyte'. Consider casting to a smaller unsigned
> type first

To me, these look like they should be warnings, not errors, and
looking at the compiler command line it specifies `/warnaserror+`
(which turns warnings into errors). If you look in
Microsoft.Dynamic.csproj (and all other IronPython csproj, by the
looks of it), it specifies:

    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>

which, while well intentioned, is a hindrance when trying to get
things to just compile. I would try setting that to

    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>

and see if you can get any further.

- Jeff



More information about the Ironpython-users mailing list