<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">https://github.com/abseil/abseil-cpp/commit/809e5de7b92950849289236a5a09e9cb4f32c7b9

From: Christopher Fore &lt;csfore@posteo.net&gt;
Date: Mon, 5 Aug 2024 10:48:19 -0400
Subject: [PATCH] container/internal: Explicitly include &lt;cstdint&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

GCC 15 will no longer include &lt;cstdint&gt; by default, resulting in build
failures in projects that do not explicitly include it.

Error:
absl/container/internal/container_memory.h:66:27: error: â€˜uintptr_tâ€™ does not name a type
   66 |   assert(reinterpret_cast&lt;uintptr_t&gt;(p) % Alignment == 0 &amp;&amp;
      |                           ^~~~~~~~~
absl/container/internal/container_memory.h:31:1: note: â€˜uintptr_tâ€™ is defined in header â€˜&lt;cstdint&gt;â€™; this is probably fixable by adding â€˜#include &lt;cstdint&gt;â€™
   30 | #include "absl/utility/utility.h"
  +++ |+#include &lt;cstdint&gt;
   31 |

See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html
Signed-off-by: Christopher Fore &lt;csfore@posteo.net&gt;
--- a/absl/container/internal/container_memory.h
+++ b/absl/container/internal/container_memory.h
@@ -17,6 +17,7 @@
 
 #include &lt;cassert&gt;
 #include &lt;cstddef&gt;
+#include &lt;cstdint&gt;
 #include &lt;cstring&gt;
 #include &lt;memory&gt;
 #include &lt;new&gt;
</pre></body></html>