Ping qznc: Re: A little of coordination for Rosettacode

Brian Rogoff brogoff at gmail.com
Sun Jun 23 22:02:20 PDT 2013


On Saturday, 22 June 2013 at 21:27:01 UTC, bearophile wrote:
> Ali Çehreli:
>
>> The code compiles under 32-bit (e.g. with the -m32 compiler 
>> switch) where size_t is an alias of uint.

Thanks, Ali! I'm always compiling on 64 bit systems; I'll add the 
32 bit switch to my diagnostic approach now.

> Oh, I see. I compile most of the code on a 32 bit system.
>
> I asked Walter to warn d programmers against such mistakes, and 
> Walter closed it down. Someone else has opened the ER again...

In general, I think implicit conversions of any kind are a 
misfeature, but better error messages would be enough for me 
here. At least in Scala, you need to bring the conversion into 
scope yourself, or have it accidentally imported...

Thanks for your help.

-- Brian


More information about the Digitalmars-d-learn mailing list