[Mono-list] The operation overflows at compile time in checked mode

red forks redforks at gmail.com
Sun Aug 7 22:10:45 EDT 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20050808/d779e418/attachment.html


More information about the Mono-list mailing list