Closed pfalcon closed 8 years ago
It happens both with typoed tag "version-0.6.0,0" and master.
Fixing those 3 errors in the code doesn't lead too far:
/mnt/hdd/projects-3rdparty/RevEng/Decompilers/reko/src/Reko-decompiler.sln (default targets) ->
(Build target) ->
/mnt/hdd/projects-3rdparty/RevEng/Decompilers/reko/src/Gui/Gui.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
Windows/Controls/MixedCodeDataModel.SpanGenerator.cs(175,42): error CS0135: `addr' conflicts with a declaration in a child block
Windows/Controls/MixedCodeDataModel.SpanGenerator.cs(175,59): error CS0135: `addr' conflicts with a declaration in a child block
Windows/Controls/MixedCodeDataModel.SpanGenerator.cs(177,39): error CS0135: `addr' conflicts with a declaration in a child block
Windows/Controls/MixedCodeDataModel.SpanGenerator.cs(182,32): error CS0135: `addr' conflicts with a declaration in a child block
Windows/Controls/MixedCodeDataModel.SpanGenerator.cs(183,40): error CS0135: `addr' conflicts with a declaration in a child block
Windows/Controls/MixedCodeDataModel.SpanGenerator.cs(195,53): error CS0135: `addr' conflicts with a declaration in a child block
The particular class you're having problems with (MixedCodeDataMode.SpanGenerator.cs) compiles successfully with VStudio 2013, VStudio 2015, MonoDevelop 5.10.1, and the Mono toolchain used by TravisCI (xBuild 12.0, Mono 4.2.3.0; see https://travis-ci.org/uxmal/reko/builds/133095747 for a recent log). It is possible that you may need to upgrade your Mono environment to a later version.
I've confirmed that I can build on my Ubuntu VM. Mono 4.2.3.0 and xBuild 12.0 again. Let me know if the issue persists after upgrading your toolchain to latest stable.
...but I will also patch the code so that it will work with older C# compilers that give the error messages you've reported.
@pfalcon : are you still having problems compiling reko? Please let me know either way.
Closing this now due to lack of response. I've verified that the build works on at least two Linux machines in different environments. If you still have this problem, please reopen the issue.