[Gate-users] [Gate] Fix the use of IAEA phase space files (#34)
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Wed Jun 10 12:27:33 CEST 2015
On Wed, Jun 10, 2015 at 12:20 PM, Kris Thielemans wrote:
>
> Hi David
>
> You’re right. std::int32_t is only guaranteed with Cxx11. Most compilers support it for older versions of C++ as well. However, as far as I know, the best way to be compiler compatible (if you don’t use Cxx11) is to use boost/cstdint (or write yourself a load of macros).
Using boost for that would be an overkill.
<cstdint> doesn't work with non-C++11-compliant compilers (while
<stdint.h> works for me at least).
Mojca
More information about the Gate-users
mailing list