xtb
xtb copied to clipboard
compilation error on Intel/2020.0.166
xtb/6.7.0/build/_deps/toml-f-src/src/tomlf/de/parser.f90
Building Fortran object _deps/toml-f-build/CMakeFiles/toml-f-lib.dir/src/tomlf/de/parser.f90.o
/dist/apps/xtb/6.7.0/build/_deps/toml-f-src/src/tomlf/de/parser.f90(35): error #6959: The array constructor must be
a constant. [TOML_TERMINAL]
type(toml_terminal) :: color = toml_terminal()
Hello, Please provide all relevant information: OS, build system version, build logs.
Thanks. Intel 2020.0.166 on RHEL8 Linux_X86_64. The log from toml-f
dist/apps/xtb/toml-f/src/tomlf/de/parser.f90(35): error #6959: The array constructor must be a constant. [TOML_TERMINAL]
type(toml_terminal) :: color = toml_terminal()
-------------------------------------^
The message following that is confusing and points to Intel compiler error, but I doubt it without knowing the details of the toml_terminal (definitions).
Ajith
Reported at https://github.com/toml-f/toml-f/issues/148 as well