unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65547] [PATCH] daemon: Fix build with GCC13
@ 2023-08-26  7:00 soeren
  2023-09-09 20:31 ` bug#65547: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: soeren @ 2023-08-26  7:00 UTC (permalink / raw)
  To: 65547

From: Sören Tempel <soeren@soeren-tempel.net>

The sqlite.hh file uses fixed-width integer types from stdint.h. As
such, it needs to include <cstdint>. Without this include, the file
doesn't compile successfully with GCC13.

See: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

* nix/libstore/sqlite.hh: include <cstdint>

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
---
 nix/libstore/sqlite.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nix/libstore/sqlite.hh b/nix/libstore/sqlite.hh
index 326e4a4855..6cadba6849 100644
--- a/nix/libstore/sqlite.hh
+++ b/nix/libstore/sqlite.hh
@@ -2,6 +2,7 @@
 
 #include <functional>
 #include <string>
+#include <cstdint>
 
 #include "types.hh"
 




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#65547: [PATCH] daemon: Fix build with GCC13
  2023-08-26  7:00 [bug#65547] [PATCH] daemon: Fix build with GCC13 soeren
@ 2023-09-09 20:31 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-09-09 20:31 UTC (permalink / raw)
  To: soeren; +Cc: 65547-done

Hi,

soeren@soeren-tempel.net skribis:

> From: Sören Tempel <soeren@soeren-tempel.net>
>
> The sqlite.hh file uses fixed-width integer types from stdint.h. As
> such, it needs to include <cstdint>. Without this include, the file
> doesn't compile successfully with GCC13.
>
> See: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
>
> * nix/libstore/sqlite.hh: include <cstdint>
>
> Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>

Pushed as cd469932758bf2bec1ff9c82aeb373e18730d0c4, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-09 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26  7:00 [bug#65547] [PATCH] daemon: Fix build with GCC13 soeren
2023-09-09 20:31 ` bug#65547: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).