Il giorno gio, 28/08/2008 alle 04.52 +0300, Dan Shechter ha scritto:
> Hi,
> 
> I’ve been trying out gmcs, running on Ubuntu 8.04 amd64 and have
> discovered a rather annoying fault:
> 
>  
> 
> When compiling classes containing statements such as:
> 
>  
> 
> namespace YYY {
> 
> class XXX {
> private unsafe byte *_data;
> 
> public unsafe byte *GetData() { return _data; }}
> 
> }
> 
> }
> 
>  
> 
> The compiler will notify of a failure:
> 
> error CS3003: Type of `YYY.XXX._data' is not CLS-compliant

With mono 1.9.1, passing the -unsafe switch to the compiler it works
here (after fixing the extra brace).

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [EMAIL PROTECTED]
INIT.D Developer                                           [EMAIL PROTECTED]
                      The number of the beast: vi vi vi. -- Delexa Jones

Attachment: signature.asc
Description: Questa è una parte del messaggio firmata digitalmente

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to