On Wed, Apr 18, 2007 at 01:16:54PM -0400, George Bosilca wrote:

> That's right, long and int have the same size on Windows 32 and 64  
> bits (always 32 bits). However, they are considered as being  
> different types (!!!).

How about (u)int32_t? When I was an Ada programmer, subtypes with the
approriate range were always encouraged (i.e.: define the semantical
range and let the compiler/runtime library warn you on range
violations (the well-known "CONSTRAINT_ERROR"))


Adr"int consired harmful"ian

-- 
Cluster and Metacomputing Working Group
Friedrich-Schiller-Universität Jena, Germany

private: http://adi.thur.de

Reply via email to