svalinn / DAGMC

Direct Accelerated Geometry Monte Carlo Toolkit
https://svalinn.github.io/DAGMC
Other
96 stars 63 forks source link

explicitly include the std integer declarations #882

Closed ebknudsen closed 1 year ago

ebknudsen commented 1 year ago

Please follow these guidelines when making a Pull Request. This template was adapted from here and here.

Description

Explicitly include the definition of int32_t

Motivation and Context

Fixes a compile blocking error on some systems

Changes

bugfix

Behavior

On some systems depending on the pedanticness of the compiler, not including this header can cause the compilation to fail. Using gcc 13 on my system.

Other Information

Experienced the issue with gcc-13

gonuke commented 1 year ago

Thanks @ebknudsen