jacobwilliams / fortran_function_parser

Modern Fortran function parser. An update of "fparser" by Roland Schmehl
Other
32 stars 6 forks source link

Failure building the test #20

Open angelog0 opened 1 year ago

angelog0 commented 1 year ago

In MSYS2 I have put in function-parser-fortran directory the files

error_module.f90
function_parser.F90
tests.f90

and tried to build with

cd function-parser-fortran

gfortran -Wall -Wno-unused-dummy-argument -Wno-maybe-uninitialized error_module.f90 function_parser.F90 tests.f90 -o tests.out 2>&1 | tee build.log

but it fails. Attached the build.log

Any suggestion to build programs with this package?

BTW I did a few years ago a Fortran interface to the C++ http://warp.povusers.org/FunctionParser/fparser4.5.2.zip (AForAndromeda)

angelog0 commented 1 year ago

in MSYS2 GFortran is

$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-msys/11.3.0/lto-wrapper.exe
Target: x86_64-pc-msys
Configured with: /c/S/B/src/gcc-11.3.0/configure --build=x86_64-pc-msys --prefix=/usr --libexecdir=/usr/lib --enable-bootstrap --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --with-arch=x86-64 --with-tune=generic --disable-multilib --enable-__cxa_atexit --with-dwarf2 --enable-languages=c,c++,fortran,lto --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --disable-libssp --disable-win32-registry --disable-symvers --with-gnu-ld --with-gnu-as --disable-isl-version-check --enable-checking=release --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.3.0 (GCC)