Hello,
I am continue migration to 9.6.2 and now I have issue building my project with vtk with c++20 (no issue for c++17).
I got error
Error C7595 ‘vtkfmt::v12::fstring<bool &,bool &,const bool &>::fstring’: call to immediate function is not a constant expression vtk-9.6\vtkTimerLog.h 119
it is here
VTK_FORMAT_IF_ERROR_RETURN(
auto result = vtk::format_to_n(event, sizeof(event), format, std::forward<T>(args)...);
*result.out = '\0', );
changing here to
VTK_FORMAT_IF_ERROR_RETURN(
auto result = vtk::format_to_n(event, sizeof(event), fmt::runtime(format), std::forward<T>(args)...);
*result.out = '\0', );
solve issue. But I am not sure is it good. Or probably it could be patched in future.
I will be happy for some advices for this issue.
Andrey