Microsoft-MPI icon indicating copy to clipboard operation
Microsoft-MPI copied to clipboard

Fix usage of invalid BOZ integer constants

Open albertziegenhagel opened this issue 4 years ago • 3 comments

gfortran >= 10.0 started to emit an error for BOZ integer constants in invalid locations. This change replaces the hexadecimal integer constants by regular ones, so that msmpi fortran bindings can be consumed by gfortran without the need to pass -fallow-invalid-boz.

Some amount of integer constants have already been replaced in #25.

edit: The conversions from the hexadecimal numbers to decimal numbers have been performed by a simple python script, so I hope there should not be any typos.

albertziegenhagel avatar Aug 29 '20 11:08 albertziegenhagel

👍 Thanks for putting this fix together. I'm seeing the same issues with gfortran.

KineticTheory avatar Aug 30 '20 20:08 KineticTheory

Thank you. Currently there are a large volume of warnings emitted before this fix. Any way we can help expedite?

scivision avatar Oct 16 '20 19:10 scivision

@scivision @albertziegenhagel Do you know of a gfortran compiler flag or code pragma that will suppress this warning? I would like to silence this warning in my Appveyor CI. Thanks!

KineticTheory avatar Feb 03 '21 19:02 KineticTheory