Hi Martin,
You must be using an older version of mcs. Nonetheless, I've just committed a revision of Container.cs that avoids using the 'var' keyword on the 1.0 profile. Gert From: [email protected] [mailto:[email protected]] On Behalf Of Martin Lundberg Sent: zaterdag 18 juli 2009 12:15 To: [email protected] Subject: [Mono-list] Error on 'var' when trying to compile mono Hello everyone! When I try to compile mono (r138174) I get this: make[7]: Entering directory `/home/marlun/src/mono/mcs/class/System' make all-local make[8]: Entering directory `/home/marlun/src/mono/mcs/class/System' ** Warning: System.dll built without parts that depend on: System.Xml.dll MCS [basic] System.dll Microsoft.CSharp/CSharpCodeCompiler.cs(192,32): warning CS0219: The variable `mcs_stdout' is assigned but its value is never used System.ComponentModel/Container.cs(176,41): error CS0246: The type or namespace name `var' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 1 error(s), 1 warnings What am I doing wrong and how can I fix it? Thanks, -Martin No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.285 / Virus Database: 270.13.12/2234 - Release Date: 07/12/09 17:56:00
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
