VTK/Common/Core/vtkLogger.h:487:69: error: format not a string literal and no format arguments [-Werror=format-security]
While trying to build paraview 5.8.0-RC1 on Fedora Rawhide:
In file included from /builddir/build/BUILD/ParaView-v5.8.0-RC1/VTK/GUISupport/Qt/QVTKRenderWindowAdapter.cxx:20:
/builddir/build/BUILD/ParaView-v5.8.0-RC1/VTK/GUISupport/Qt/QVTKRenderWindowAdapter.cxx: In member function 'void QVTKRenderWindowAdapter::QVTKInternals::paint()':
/builddir/build/BUILD/ParaView-v5.8.0-RC1/VTK/Common/Core/vtkLogger.h:487:69: error: format not a string literal and no format arguments [-Werror=format-security]
487 | : vtkLogger::LogScopeRAII(level, __FILE__, __LINE__, __VA_ARGS__)
| ^
/builddir/build/BUILD/ParaView-v5.8.0-RC1/VTK/Common/Core/vtkLogger.h:490:3: note: in expansion of macro 'vtkVLogScopeF'
490 | vtkVLogScopeF(vtkLogger::VERBOSITY_##verbosity_name, __VA_ARGS__)
| ^~~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.8.0-RC1/VTK/Common/Core/vtkLogger.h:492:45: note: in expansion of macro 'vtkLogScopeF'
492 | #define vtkLogScopeFunction(verbosity_name) vtkLogScopeF(verbosity_name, __func__)
| ^~~~~~~~~~~~
/builddir/build/BUILD/ParaView-v5.8.0-RC1/VTK/GUISupport/Qt/QVTKRenderWindowAdapter.cxx:273:5: note: in expansion of macro 'vtkLogScopeFunction'
273 | vtkLogScopeFunction(TRACE);
| ^~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
-Werror=format-security is a standard Fedora compile flag these days.