when compiling with fpm using fpm build I get the following message
Error: BOZ literal constant at (1) is neither a DATA statement value nor an actual argument of INT/REAL/DBLE/CMPLX intrinsic subprogram [see '-fno-allow-invalid-boz']
compilation terminated due to -fmax-errors=1.
<ERROR> Compilation failed for object " src_SHA1.f90.o "
<ERROR> stopping due to failed compilation
STOP 1
I manage to compile my code if I pass the proposed flag option build --flag "-fallow-invalid-boz". However, there is a difference with ifort which compiles the same code without any problem and without specifying any additional flag.
Expected Behaviour
The code should compile with gfortran without passing additional flags just like it does with ifort
Description
I am trying to compile a code performing some SHA1 hashing. The code contains the following data
when compiling with fpm using
fpm build
I get the following messageI manage to compile my code if I pass the proposed flag
option build --flag "-fallow-invalid-boz"
. However, there is a difference with ifort which compiles the same code without any problem and without specifying any additional flag.Expected Behaviour
The code should compile with gfortran without passing additional flags just like it does with ifort
Version of fpm
0.10
Platform and Architecture
Windows
Additional Information
No response