[Mono-list] The operation overflows at compile time in checked
mode
A Rafael D Teixeira
rafael.teixeirabr at terra.com.br
Mon Aug 8 13:49:34 EDT 2005
Please fill a bug about it, for "Mono: Compilers"/"C#".
http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%3A
+Compilers&component=C%23
:)
On Mon, 2005-08-08 at 10:10 +0800, red forks wrote:
> The Code is:
>
> const long lk = 1024;
> const long lM = 1024 * lk;
> const long lG = 1024 * lM;
> const long lT = 1024 * lG;
>
> I think 1024G is not out of range of long, don't know why mcs think
> its an error.
> The code is built ok in Microsoft .Net
>
>
>
> ______________________________________________________________________
> E-mail classificado pelo Identificador de Spam Inteligente.
> Para alterar a categoria classificada, visite o Terra Mail
>
>
> ______________________________________________________________________
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 05/08/2005 / Versão:
> 4.4.00/4551
> Proteja o seu e-mail Terra: http://mail.terra.com.br/
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list