I cannot understand problem with argument of the function

mrd denis.feklushkin at gmail.com
Wed Sep 18 02:07:08 PDT 2013


On Wednesday, 18 September 2013 at 08:25:02 UTC, monarch_dodra 
wrote:
> On Wednesday, 18 September 2013 at 04:17:41 UTC, mrd wrote:
>> (question is not about function body realisation - body just 
>> don't receives right argument value)
>
> Looks like data corruption. Can't help you much without a full 
> piece of code that *reproduces* the issue (reducing it helps 
> too).

I will try to do it later. (I tried to copy these functions in a 
separate file - the problem is not reproduced.)

>
> For what it's worth, your "weird" value, it appears to be a 
> bitmask:
> 18446744073709551615
> 0x1999999999999999
> 0001_1001 1001_1001 1001_1001 1001_1001 1001_1001 1001_1001 
> 1001_1001 1001_1001
>
> This is usually tell tale invalid memory reads and/or stack 
> corruption.

In some other functions of project?

> TIP: Try marking your function @safe, if possible.

Isn't possible because active pointers usage in it


More information about the Digitalmars-d-learn mailing list