Add #include <cstdint> to compile with gcc13
authorLaurent Rineau <laurent.rineau@cgal.org>
Tue, 17 Jan 2023 15:18:53 +0000 (16:18 +0100)
committerMichael R. Crusoe <crusoe@debian.org>
Mon, 21 Aug 2023 22:27:20 +0000 (23:27 +0100)
From 1233ceec268d5366c66f5e79786ec784042b591b Mon Sep 17 00:00:00 2001
Origin: upstream, https://gitlab.kitware.com/vtk/vtk/-/commit/1233ceec268d5366c66f5e79786ec784042b591b

The `vtkSEPReader` was introduced by MRs !4909 (from my former
collaborator Maxime) and !4938. Then it was highly modified by
!7516. The later MR is the one that introduced the uses of
`std::uint8_t` and `std::uint32_t`.

Those types needs the inclusion of `<cstdint>`.

Gbp-Pq: Name gcc-13.patch

IO/Image/vtkSEPReader.h

index 94600a8a07798540468205d94b3071561057e2e2..db1b840a52b57b3d4c03c6d1807e0cc55691597b 100644 (file)
@@ -25,8 +25,9 @@
 #include "vtkImageAlgorithm.h"
 #include "vtkNew.h" // for ivars
 
-#include <array>  // for std::array
-#include <string> // for std::string
+#include <array>   // for std::array
+#include <cstdint> // for std::uint8_t and std::uint32_t
+#include <string>  // for std::string
 
 namespace details
 {