guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: daemon: Fix build with GCC 13.


From: guix-commits
Subject: 01/03: daemon: Fix build with GCC 13.
Date: Sat, 9 Sep 2023 13:38:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit cd469932758bf2bec1ff9c82aeb373e18730d0c4
Author: Sören Tempel <soeren@soeren-tempel.net>
AuthorDate: Sat Aug 26 09:00:37 2023 +0200

    daemon: Fix build with GCC 13.
    
    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>
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 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 via email to

[Prev in Thread] Current Thread [Next in Thread]