Message: Re: Many warnings when compile Geant4_10_02_p02 on Win7 with VS2015 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Many warnings when compile Geant4_10_02_p02 on Win7 with VS2015  

Forum: Installation and Configuration
Re: None Many warnings when compile Geant4_10_02_p02 on Win7 with VS2015
Re: None Re: Many warnings when compile Geant4_10_02_p02 on Win7 with VS2015 (Tom Roberts)
Date: 25 Jul, 2016
From: <hli.thu11@gmail.com>

On Tue, 26 Jul 2016 02:46:55 GMT, Tom Roberts wrote:
> > d:\soft\geant4\source\source\analysis\g4tools\include\tools\value(693):
> > warning C4311: 'type cast': pointer truncation from 'void *const ' to
> > 'unsigned long'
> 
> This is a real error, and this code will not run correctly -- it is
> putting a 64-bit pointer into a 32-bit variable. The code is NOT 64-bit
> safe (left over from a time when there were only 32-bit compilers).

I only have a 64-bit Windows7 platform. Do you have some suggestions to avoid this problem?

 Add Message Add Message
to: "Re: Many warnings when compile Geant4_10_02_p02 on Win7 with VS2015 "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]