64Bit compatibility warnings

Matt Soucy msoucy at csh.rit.edu
Fri Jan 20 17:24:28 PST 2012


On 01/20/2012 08:21 PM, Stewart Gordon wrote:
> On 21/01/2012 01:16, Timon Gehr wrote:
> <snip>
>> I generally like the idea of making size_t strongly typed, but
>> that would necessitate X!size_t to become a distinct instantiation
>> from X!uint or X!ulong.
>> Furthermore, it would break all existing D programs that are
>> deliberately not 64 bit aware
>> =).
>
> You mean compilers that target a 32-bit platform and rely on the runtime
> environment to ensure CTFE is consistent with runtime evaluation of the
> same function?
>
> Stewart.

Couldn't it be handled by a special switch on 64 bit compilers, and 
disabled normally? That way, the default behavior doesn't change, but 
all one would have to do is say "
-Matt Soucy


More information about the Digitalmars-d mailing list