gcc13.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. diff --git a/IO/Image/vtkSEPReader.h b/IO/Image/vtkSEPReader.h
  2. --- a/IO/Image/vtkSEPReader.h
  3. +++ b/IO/Image/vtkSEPReader.h
  4. @@ -25,8 +25,9 @@
  5. #include "vtkImageAlgorithm.h"
  6. #include "vtkNew.h" // for ivars
  7. -#include <array> // for std::array
  8. -#include <string> // for std::string
  9. +#include <array> // for std::array
  10. +#include <cstdint> // for std::uint8_t and std::uint32_t
  11. +#include <string> // for std::string
  12. namespace details
  13. {
  14. diff --git a/IO/PIO/PIOData.h b/IO/PIO/PIOData.h
  15. --- a/IO/PIO/PIOData.h
  16. +++ b/IO/PIO/PIOData.h
  17. @@ -1,6 +1,7 @@
  18. #if !defined(_PIODATA_H)
  19. #define _PIODATA_H
  20. +#include <cstdint>
  21. #include <fstream>
  22. #include <iostream>
  23. #include <list>
  24. diff --git a/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h b/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
  25. --- a/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
  26. +++ b/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
  27. @@ -49,7 +49,8 @@
  28. #include "vtkMathTextUtilities.h"
  29. #include "vtkRenderingMatplotlibModule.h" // For export macro
  30. -#include <vector> // for std::vector
  31. +#include <cstdint> // for std::uint64_t
  32. +#include <vector> // for std::vector
  33. struct _object;
  34. typedef struct _object PyObject;
  35. diff --git a/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp b/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
  36. --- a/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
  37. +++ b/ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp
  38. @@ -33,6 +33,7 @@
  39. #include <vector>
  40. #include <string>
  41. +#include <cstdint>
  42. #define CPL_DLL