[Mono-list] Mono debugger fails to build due to an Inconsistent acccessibility

Gustavo Ramos eureko@grmexico.com.mx
09 Feb 2004 07:08:16 -0600

Hello Martin,

I think I found a bug. I've configured Mono debugger 0.5, using Mono
0.30 installation, with

./configure --prefix=/home/gus/mono/install --disable-readline

and the process ran well, but there's an "Inconsistent accessibility"
error at the make time.

The BfdContainer class is internal, and used as a parameter type in a
protected constructor of a public class, in backends/Process.cs (46).
Perhaps making sealed the Process class fix the issue, although I don't
know if the BfdContainer is (or should/will be) used anywhere else.

BTW, where should one post bugs about the Mono Debugger? If there is
something silly, here's the output:

*** snip ***

/home/gus/mono/install/bin/mcs /target:library
/out:Mono.Debugger.Backend.dll -g -r Mono.GetOptions             -r
Mono.Debugger.dll            -r Mono.CSharp.Debugger
../backends/ptrace/*.cs                 ../backends/mono-csharp/*.cs 
../backends/native/*.cs                  ../arch/*.cs
../backends/Process.cs(46) error CS0051: Inconsistent accessibility:
parameter type `Mono.Debugger.Architecture.BfdContainer' is less
accessible than method `Process'
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [Mono.Debugger.Backend.dll] Error 1
make[2]: Leaving directory `/home/gus/mono/mono-debugger-0.5/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gus/mono/mono-debugger-0.5'
make: *** [all-recursive-am] Error 2

Any clues?


Gustavo Ramos <eureko@grmexico.com.mx>