[Banshee-List] Patch to fix the build (and bug in gmcs?)
- From: "Andrés G. Aragoneses [ knocte ]" <knocte gmail com>
- To: banshee-list gnome org
- Subject: [Banshee-List] Patch to fix the build (and bug in gmcs?)
- Date: Sun, 15 Oct 2006 17:23:34 +0200
Hello, I have just updated my banshee CVS copy and found that it didn't
compile. It was a syntax error in a file so here is the patch to correct it.
However, I think there should be also a new bug on the gmcs compiler
(last version 1.1.18) because now I get this exception when compiling:
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
at Mono.CSharp.ScopeInfo+CapturedVariable.EmitInstance
(Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.VariableReference.EmitLoad (Mono.CSharp.EmitContext ec)
[0x00000]
at Mono.CSharp.VariableReference.Emit (Mono.CSharp.EmitContext ec,
Boolean leave_copy) [0x00000]
at Mono.CSharp.VariableReference.Emit (Mono.CSharp.EmitContext ec)
[0x00000]
at Mono.CSharp.Invocation.EmitCall (Mono.CSharp.EmitContext ec,
Boolean is_base, Boolean is_static, Mono.CSharp.Expression
instance_expr, System.Reflection.MethodBase method,
System.Collections.ArrayList Arguments, Location loc, Boolean dup_args,
Boolean omit_args) [0x00000]
at Mono.CSharp.PropertyExpr.Emit (Mono.CSharp.EmitContext ec, Boolean
leave_copy) [0x00000]
at Mono.CSharp.PropertyExpr.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Argument.Emit (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Invocation.EmitArguments (Mono.CSharp.EmitContext ec,
System.Reflection.MethodBase mb, System.Collections.ArrayList arguments,
Boolean dup_args, Mono.CSharp.LocalTemporary this_arg) [0x00000]
at Mono.CSharp.Invocation.EmitCall (Mono.CSharp.EmitContext ec,
Boolean is_base, Boolean is_static, Mono.CSharp.Expression
instance_expr, System.Reflection.MethodBase method,
System.Collections.ArrayList Arguments, Location loc, Boolean dup_args,
Boolean omit_args) [0x00000]
at Mono.CSharp.Invocation.EmitCall (Mono.CSharp.EmitContext ec,
Boolean is_base, Boolean is_static, Mono.CSharp.Expression
instance_expr, System.Reflection.MethodBase method,
System.Collections.ArrayList Arguments, Location loc) [0x00000]
at Mono.CSharp.ConstructorInitializer.Emit (Mono.CSharp.EmitContext
ec) [0x00000]
at Mono.CSharp.Constructor.Emit () [0x00000]
at Mono.CSharp.TypeContainer.EmitConstructors () [0x00000]
at Mono.CSharp.TypeContainer.EmitType () [0x00000]
at Mono.CSharp.RootContext.EmitCode () [0x00000]
at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
make[3]: *** [Banshee.Base.dll] Error 1
make[3]: Leaving directory
`/home/knocte/Documents/iDocuments/Proyectos/Banshee/arbol/banshee-cvs/src/Banshee.Base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/knocte/Documents/iDocuments/Proyectos/Banshee/arbol/banshee-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/knocte/Documents/iDocuments/Proyectos/Banshee/arbol/banshee-cvs'
make: *** [all] Error 2
Regards,
Andrés [ knocte ]
--
Index: src/Banshee.Base/Banshee.Burner/BurnerFormatList.cs
===================================================================
RCS file: /cvs/gnome/banshee/src/Banshee.Base/Banshee.Burner/BurnerFormatList.cs,v
retrieving revision 1.2
diff -r1.2 BurnerFormatList.cs
78,79c78,79
< string format = SelectedFormat;
< if(format == last_format) {
---
> string selectedFormat = SelectedFormat;
> if(selectedFormat == last_format) {
83c83
< last_format = format;
---
> last_format = selectedFormat;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]