Open dak180 opened 1 week ago
Ugh. The <variant>
header is apparently a C++17 thing.
Doxygen started with v1.9.4: https://github.com/doxygen/doxygen/commit/7ff9879dd7c3e727fac106e0e8722b3657460362
Unfortunately, the [commit log for our doxygen-1.9.8] [147eb78ad47ed3ab8d294cb46b3891a35b918a56] says this was due to our older 1.8.14 version being unable to deal with texlive-2021 and ghostscript-10, so we can't downgrade doxygen on 10.12 and earlier.
Packaging options that I can think of (because I don't know if the code is fixable): 1) switch 10.12 and earlier to using gcc instead of clang; 2) try to find an intermediate version of doxygen that works with texlive-2024 and is not using c++17[1]. Doxygen went to c++11 with v1.8.16, c++14 with v1.8.17, and c++17 with v1.9.4.
[1] Note that this is using gnu++1z
, which is supposed to be the prerelease version of c++17 as far as I can understand from the web, but it's clearly not enough.
edited to add: reading more, some places say Xcode 9.2 does support C++17, but you have to force it by passing -std=c++17
to the compiler in CXXFLAGS. Can you edit doxygen.info, and add the field SetCXXFLAGS: -std=c++17
? Does that fix it?