[Mono-devel-list] mcs build fails on cygwin
    Atsushi Eno 
    atsushi at ximian.com
       
    Sat Jan  1 13:00:58 EST 2005
    
    
  
Hello,
Ben Maurer wrote:
> This is the code:
> 
> 
>>		public static readonly SignalHandler SIG_DFL = _DefaultHandler;
>>		public static readonly SignalHandler SIG_ERR = _ErrorHandler;
>>		public static readonly SignalHandler SIG_IGN = _IgnoreHandler;
> 
> 
> Whoever added this is using the 2.0 delegate syntax. The old syntax
> needs to be used.
> 
> Miguel, is there a way to prevent ourselves from using the new syntax?
> Am sure we will see this again.
I think we can add -langversion:ISO_1 to everywhere mcs is used to
build something. It blocks 2.0-only syntax. The switch must not be
used when we use csc (we need some build magic here ;-).
Atsushi Eno
    
    
More information about the Mono-devel-list
mailing list