xtb icon indicating copy to clipboard operation
xtb copied to clipboard

compilation error on Intel/2020.0.166

Open ajithperera opened this issue 10 months ago • 3 comments

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()

ajithperera avatar Apr 18 '24 17:04 ajithperera

Hello, Please provide all relevant information: OS, build system version, build logs.

Albkat avatar Apr 19 '24 06:04 Albkat

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

ajithperera avatar Apr 19 '24 13:04 ajithperera

Reported at https://github.com/toml-f/toml-f/issues/148 as well

awvwgk avatar Apr 21 '24 15:04 awvwgk