Port defines c++11 but builds using c++17 https://cgit.freebsd.org/ports/tree/finance/gnucash/Makefile#n26 https://cgit.freebsd.org/ports/tree/finance/gnucash/Makefile#n30 https://github.com/Gnucash/gnucash/blob/5.8/CMakeLists.txt#L607 Update USES= compiler and removing USE_CXXSTD should fix the issue
Hi, Thanks for reporting. I'll see if the discrepancy can be fixed. Although I understand USES=compiler requirement as a minimum, so the discrepancy there is not fatal, but I agree, better be aligned!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=36dc1885e8fcb7a3d1f0938bbcab35b9bb0eebf6 commit 36dc1885e8fcb7a3d1f0938bbcab35b9bb0eebf6 Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2024-07-22 16:10:34 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2024-07-22 16:10:34 +0000 finance/gnucash: Define correct C++ standard for this port PR: 280397 finance/gnucash/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
C++ standards definitions fixed. Thanks again for reporting!