Page 1 of 1

Warning: pointer cast involving 64-bit pointed-to type

Posted: Fri Sep 23, 2016 2:53 pm
by lehongduc
Hello,

I'm using CS v 4.0.3 on linux x64 bit. When I copy any source term written in c (*.c) in my SRC, and I start my calculation, I got warning in compile.log:
... warning #2312: pointer cast involving 64-bit pointed-to type ...

Do you have any idea to fix this warning? (the calculation run fine but this warning may cause some error I think...)

Best regard,
LE Hong Duc

Re: Warning: pointer cast involving 64-bit pointed-to type

Posted: Fri Sep 23, 2016 4:00 pm
by Yvan Fournier
Hello,

This would be clearer with a copy of the associated user file.

Regards,

Yvan

Re: Warning: pointer cast involving 64-bit pointed-to type

Posted: Mon Sep 26, 2016 8:38 am
by lehongduc
Dear Yvan,

I send you my compile.log of one of my test case. To have this warning, I just copy the file cs_lagr_tracking.c and cs_lagr_tracking.h to my /SRC (without modification).

Regard,
LE Hong Duc

Re: Warning: pointer cast involving 64-bit pointed-to type

Posted: Mon Sep 26, 2016 2:41 pm
by Yvan Fournier
Hello,

This seems to be a "excess" warning of the Intel compiler.

In this specific case, you can ignore it.

Regards,

Yvan

Re: Warning: pointer cast involving 64-bit pointed-to type

Posted: Mon Sep 26, 2016 3:12 pm
by lehongduc
Hello,

Thanks for yours answers, it ensure me about my calculation.

Regard,
LE Hong Duc