Page 1 of 1

polymake fails to compile on FreeBSD with clang 19.1.5

Posted: 01 Jan 2025, 23:15
by Philipp
polymake 4.13 fails to build on FreeBSD with clang 19.1.5 due to missing template argument lists. The complete build log is attached.

This is on FreeBSD 14.2-STABLE amd64 with clang 19.1.5:

Code: Select all

$ c++ -v FreeBSD clang version 19.1.5 (https://github.com/llvm/llvm-project.git llvmorg-19.1.5-0-gab4b5a2db582) Target: x86_64-unknown-freebsd14.2 Thread model: posix InstalledDir: /usr/bin

Re: polymake fails to compile on FreeBSD with clang 19.1.5

Posted: 02 Jan 2025, 10:25
by blorenz
Please try the attached patch (it contains changes for these template arguments and some more compatibility fixes). Unfortunately these changes didn't make it into 4.13 but they will be included in the next release.

Best,
Benjamin

Re: polymake fails to compile on FreeBSD with clang 19.1.5

Posted: 03 Jan 2025, 18:18
by Philipp
Hi Benjamin,

thank you very much! This fixes the compilation errors. I just filed a bug report with the FreeBSD project, so they should hit the tree hopefully soon.

Best
Philipp