[Mono-dev] mono/mini/objects.cs compile error

KISHIMOTO, Makoto ksmakoto at dd.iij4u.or.jp
Mon Oct 18 01:54:49 EDT 2010


Hello

In my FreeBSD box, Mono trunk gmake check failed with compile error.

$ gmake check
...(snip)
Making check in eglib
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making check in src
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/src'
Making check in test
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib/test'
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/eglib'
Making check in mono
gmake[1]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono'
Making check in utils
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
gmake  check-am
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
gmake[3]: Nothing to be done for `check-am'.
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/utils'
Making check in io-layer
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/io-layer'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/io-layer'
Making check in cil
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/cil'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/cil'
Making check in metadata
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/metadata'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/metadata'
Making check in arch
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[3]: Nothing to be done for `check-am'.
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/arch'
Making check in mini
gmake[2]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  check-am
gmake[3]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake  check-local
gmake[4]: Entering directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 ../../runtime/mono-wrapper /export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe -nowarn:0162 -out:TestDriver.dll -target:library ../../../mono/mono/mini/TestDriver.cs
../../../mono/mono/mini/TestDriver.cs(20,39): warning CS0168: The variable `elen' is declared but never used
Compilation succeeded - 1 warning(s)
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 ../../runtime/mono-wrapper /export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe -nowarn:0162 -out:basic.exe -unsafe ../../../mono/mono/mini/basic.cs -r:TestDriver.dll
../../../mono/mono/mini/basic.cs(1319,30): warning CS0642: Possible mistaken empty statement
../../../mono/mono/mini/basic.cs(561,21): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(566,23): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(631,35): warning CS0168: The variable `c' is declared but never used
../../../mono/mono/mini/basic.cs(638,37): warning CS0168: The variable `c' is declared but never used
../../../mono/mono/mini/basic.cs(645,37): warning CS0168: The variable `c' is declared but never used
../../../mono/mono/mini/basic.cs(657,28): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
../../../mono/mono/mini/basic.cs(671,28): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
../../../mono/mono/mini/basic.cs(737,31): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(750,31): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(761,31): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(779,31): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(790,32): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(801,32): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(812,30): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(823,29): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/basic.cs(1030,25): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
../../../mono/mono/mini/basic.cs(1200,29): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Compilation succeeded - 18 warning(s)
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 ../../runtime/mono-wrapper /export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe -nowarn:0162 -out:basic-float.exe -unsafe ../../../mono/mono/mini/basic-float.cs -r:TestDriver.dll
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 ../../runtime/mono-wrapper /export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe -nowarn:0162 -out:basic-long.exe -unsafe ../../../mono/mono/mini/basic-long.cs -r:TestDriver.dll
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 ../../runtime/mono-wrapper /export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe -nowarn:0162 -out:basic-calls.exe -unsafe ../../../mono/mono/mini/basic-calls.cs -r:TestDriver.dll
../../../mono/mono/mini/basic-calls.cs(238,27): warning CS1718: A comparison made to same variable. Did you mean to compare something else?
Compilation succeeded - 1 warning(s)
MONO_PATH=/export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0 ../../runtime/mono-wrapper /export/home/ksmakoto/Mono/mono/mcs/class/lib/net_2_0/gmcs.exe -unsafe -nowarn:0162 -out:objects.exe -unsafe ../../../mono/mono/mini/objects.cs -r:TestDriver.dll
../../../mono/mono/mini/objects.cs(1082,18): warning CS0642: Possible mistaken empty statement
../../../mono/mono/mini/objects.cs(147,24): warning CS0219: The variable `o' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(569,23): warning CS0219: The variable `s' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(642,23): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(658,28): warning CS0219: The variable `arr4' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(665,26): warning CS0219: The variable `oa' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(666,29): warning CS0219: The variable `vta' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(667,23): warning CS0219: The variable `inta' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(708,26): warning CS0219: The variable `oa' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(785,24): warning CS0219: The variable `t' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(895,21): warning CS0219: The variable `a' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(896,21): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(972,23): warning CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte'
../../../mono/mono/mini/objects.cs(1386,21): warning CS0219: The variable `b' is assigned but its value is never used
../../../mono/mono/mini/objects.cs(1397,37): error CS0584: Internal compiler error: Argument is out of range.
Parameter name: flow-analysis
../../../mono/mono/mini/objects.cs(1397,37): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
../../../mono/mono/mini/objects.cs(1428,17): error CS0584: Internal compiler error: Argument is out of range.
Parameter name: flow-analysis
../../../mono/mono/mini/objects.cs(1428,17): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Compilation failed: 4 error(s), 14 warnings
gmake[4]: *** [objects.exe] Error 1
gmake[4]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[3]: *** [check-am] Error 2
gmake[3]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[2]: *** [check] Error 2
gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono/mini'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono'
gmake: *** [check-recursive] Error 1


More information about the Mono-devel-list mailing list