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

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
lehongduc
Posts: 23
Joined: Thu Aug 20, 2015 3:05 pm

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

Post 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
Yvan Fournier
Posts: 3103
Joined: Mon Feb 20, 2012 3:25 pm

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

Post by Yvan Fournier »

Hello,

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

Regards,

Yvan
lehongduc
Posts: 23
Joined: Thu Aug 20, 2015 3:05 pm

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

Post 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
Attachments
compile.log
(34.15 KiB) Downloaded 75 times
Yvan Fournier
Posts: 3103
Joined: Mon Feb 20, 2012 3:25 pm

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

Post 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
lehongduc
Posts: 23
Joined: Thu Aug 20, 2015 3:05 pm

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

Post by lehongduc »

Hello,

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

Regard,
LE Hong Duc
Post Reply