Subject: bug#65547: closed (Re: bug#65547: [PATCH] daemon: Fix build with GCC13)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 09 Sep 2023 20:32:02 +0000

Your bug report

#65547: [PATCH] daemon: Fix build with GCC13

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65547: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65547
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65547: [PATCH] daemon: Fix build with GCC13
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sat, 09 Sep 2023 22:31:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

[email-masked] skribis:

> From: Sören Tempel <[email-masked]>
>
> 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 <[email-masked]>

Pushed as cd469932758bf2bec1ff9c82aeb373e18730d0c4, thanks!

Ludo’.

Subject: [PATCH] daemon: Fix build with GCC13
From: [email-masked]
To: [email-masked]
Date: Sat, 26 Aug 2023 09:00:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Sören Tempel <[email-masked]>

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 <[email-masked]>
---
 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"