MustaphaTR / Generals-Alpha

Generals Alpha is an OpenRA mod that recreates Command & Conquer: Generals on OpenRA engine as much as possible but using Red Alert and Tiberian Dawn artworks.
GNU General Public License v3.0
42 stars 7 forks source link

OpenRA.Mods.Common/Traits/Repairable.cs(39,18): error CS0414: Warning as Error: The private field `OpenRA.Mods.Common.Traits.Repairable.movement' is assigned but its value is never used #11

Closed fusion809 closed 5 years ago

fusion809 commented 5 years ago

Hi,

I know you're getting Travis errors with this error message, but in case you're wondering whether this is an error without consequence on Linux, it isn't. It is causing build errors and I simply cannot use these latest commits at all.

Here is the precise output from running make with commit 1138 (3f7ad3099aeddeed7d8fa6b6b9ffe9045d0ea18c):

OpenRA engine version gen-20190121 is required.
Downloading engine...
Compiling engine...
make[1]: Entering directory '/data/GitHub/others/Generals-Alpha/generals-alpha-engine'
make[1]: Leaving directory '/data/GitHub/others/Generals-Alpha/generals-alpha-engine'
make[1]: Entering directory '/data/GitHub/others/Generals-Alpha/generals-alpha-engine'
Fetching StyleCopPlus from NuGet
Fetching StyleCop files from NuGet
Fetching ICSharpCode.SharpZipLib from NuGet
Fetching MaxMind.Db from NuGet
Fetching SharpFont from NuGet
Fetching NUnit from NuGet
Fetching NUnit.Console from NuGet
Fetching Open.Nat from NuGet
Fetching FuzzyLogicLibrary from NuGet.
Fetching SDL2-CS from GitHub.
Fetching OpenAL-CS from GitHub.
Fetching Eluant from GitHub.
Fetching rix0rrr.BeaconLib from NuGet.
Updating GeoIP country database from MaxMind.
Detected Lua 5.1 library at /lib/liblua.so.5.1.5
Eluant.dll.config has been created successfully.
CSC fixheader.exe
CSC OpenRA.Game.exe
CSC OpenRA.Platforms.Default.dll
CSC mods/common/OpenRA.Mods.Common.dll
OpenRA.Mods.Common/Traits/Repairable.cs(39,18): error CS0414: Warning as Error: The private field `OpenRA.Mods.Common.Traits.Repairable.movement' is assigned but its value is never used
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [Makefile:280: mods/common/OpenRA.Mods.Common.dll] Error 1
make[1]: Leaving directory '/data/GitHub/others/Generals-Alpha/generals-alpha-engine'
make: *** [Makefile:52: engine] Error 2

I hope I do not come across as hectoring you, if you're working on this already please feel free to ignore this bug report, I just wish to inform you it is not a Travis failure without consequence on users.

Thanks for your time, Brenton

MustaphaTR commented 5 years ago

Yeah, i know travis already errors, just didn't want to bump the engine version number just for a small issue, the update-to-new-relase process has not ended yet, mod is still pretty unstable, buggy and missing some logics because it would be easier to rewrite than try to rebase.

fusion809 commented 5 years ago

Thanks mate, as of 4f5e11d916e4a03d8cf1c97eef484ce2d77d7df2, it is fixed.