GNU bug report logs - #65547
[PATCH] daemon: Fix build with GCC13

Previous Next

Package: guix-patches;

Reported by: soeren <at> soeren-tempel.net

Date: Sat, 26 Aug 2023 07:02:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65547 in the body.
You can then email your comments to 65547 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#65547; Package guix-patches. (Sat, 26 Aug 2023 07:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to soeren <at> soeren-tempel.net:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 26 Aug 2023 07:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: soeren <at> soeren-tempel.net
To: guix-patches <at> gnu.org
Subject: [PATCH] daemon: Fix build with GCC13
Date: Sat, 26 Aug 2023 09:00:37 +0200
From: Sören Tempel <soeren <at> 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 <at> 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"
 




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 09 Sep 2023 20:32:01 GMT) Full text and rfc822 format available.

Notification sent to soeren <at> soeren-tempel.net:
bug acknowledged by developer. (Sat, 09 Sep 2023 20:32:02 GMT) Full text and rfc822 format available.

Message #10 received at 65547-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: soeren <at> soeren-tempel.net
Cc: 65547-done <at> debbugs.gnu.org
Subject: Re: bug#65547: [PATCH] daemon: Fix build with GCC13
Date: Sat, 09 Sep 2023 22:31:32 +0200
Hi,

soeren <at> soeren-tempel.net skribis:

> From: Sören Tempel <soeren <at> 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 <at> soeren-tempel.net>

Pushed as cd469932758bf2bec1ff9c82aeb373e18730d0c4, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 08 Oct 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.