[Mono-dev] compile error in System.Xml.Serialization/XmlSerializationWriterInterpreter.cs

Joel Reed joelwreed at gmail.com
Thu Sep 27 20:25:09 EDT 2007


I just pulled the latest from subversion and get the following
compilation error:

make[8]: Entering directory `/usr/local/src/mono/mcs/class/System.XML'
MONO_PATH="../../class/lib/basic:$MONO_PATH"
/usr/local/src/mono/mono/runtime/mono-wrapper
../../class/lib/basic/mcs.exe /codepage:65001   -d:NET_1_1
-d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig
-r:mscorlib.dll -r:System.dll -nowarn:0162,0618,0612,0642,1595
-target:library -out:System.Xml.dll System.Xml.XPath/Parser.cs
Mono.Xml.Xsl/PatternParser.cs Mono.Xml.Xsl/PatternTokenizer.cs
@System.Xml.dll.sources
System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(119,91):
error CS1026: Expected `,' or `)'
System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(119,128):
error CS1026: Expected `,' or `)'

the code in question is 

 WriteSerializable ((IXmlSerializable)ob, typeMap.XmlType ?? element, typeMap.XmlTypeNamespace ?? namesp, isNullable);

the operator "??" isn't defined in the NET_1_1 profile, afaict.

jr



More information about the Mono-devel-list mailing list