[Mono-devel-list] mcs build error on windows

Atsushi Eno atsushi at ximian.com
Sat Jul 31 14:35:11 EDT 2004


Hi,

The latest mcs is broken on csc build.

First, you will have to replace all '/' path separators with '\\'
in EXTRA_SOURCES. (Maybe makefile gurus can fix it?)

The second one is in ilasm:

make[3]: Entering directory `/home/_/cvs/mcs/ilasm'
csc.exe /lib:../class/lib/default /lib:../class/lib/default /r:PEAPI.dll
/r:Mono.CompilerServices.SymbolWriter.dll /nologo /optimize -d:NET_1_1
-d:ONLY_1_1 /debug+ /debug:full /target:exe /out:ilasm.exe ILParser.cs
@../build/deps/ilasm.exe.response
codegen\DebuggingInfo.cs(30,23): error CS0050: Inconsistent accessibility:
        return type

'Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.SourceMethod' is
        less accessible than method
        'Mono.ILASM.SymbolWriter.BeginMethod(Mono.ILASM.MethodDef,
        Mono.ILASM.Location)'
c:\cygwin\home\_\cvs\mcs\class\lib\default\Mono.CompilerServices.SymbolWriter.dll:
(Location of symbol related to previous error)

Attached patch fixes this problem. Ok to commit?

Atsushi Eno

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: buildfix.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040801/408f6882/attachment.pl 


More information about the Mono-devel-list mailing list