Variable shadowing bug?
denizzz
4.deniz.z.z at gmail.com
Tue Jun 11 21:21:38 PDT 2013
On Tuesday, 11 June 2013 at 16:37:18 UTC, denizzz wrote:
> On Tuesday, 11 June 2013 at 11:22:15 UTC, bearophile wrote:
>> denizzz:
>>
>>> This message looks weird. I am spent hour to find this bug.
>>> :-(
>>
>> Why aren't you just using code like this?
>>
>> sfTime r = sfClock_getElapsedTime(sfPtr);
>> return Time(r);
>>
>
>
> sfTime* r = sfClock_getElapsedTime(sfPtr);
>
> says what sfTime can not be implictly converted to sfTime
says what sfTime* can not be implictly converted to sfTime*
More information about the Digitalmars-d-learn
mailing list