From a4287a72e12ff64aec2b6cc418a3726bb1a4b7a4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 7 Sep 2024 14:31:27 +0100 Subject: [PATCH] SQLiteCpp/Statement.h: add missing `` include Without the change the build fails on `gcc-15` as: [ 5%] Building CXX object CMakeFiles/SQLiteCpp.dir/src/Backup.cpp.o In file included from /build/source/include/SQLiteCpp/Column.h:14, from /build/source/include/SQLiteCpp/Database.h:14, from /build/source/include/SQLiteCpp/Backup.h:15, from /build/source/src/Backup.cpp:12: /build/source/include/SQLiteCpp/Statement.h:132:39: error: 'uint32_t' does not name a type 132 | void bind(const int aIndex, const uint32_t aValue); | ^~~~~~~~ /build/source/include/SQLiteCpp/Statement.h:20:1: note: 'uint32_t' is defined in header ''; this is probably fixable by adding '#include ' 19 | #include +++ |+#include 20 | --- include/SQLiteCpp/Statement.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/SQLiteCpp/Statement.h b/include/SQLiteCpp/Statement.h index bb62a9f9..2f3adf7d 100644 --- a/include/SQLiteCpp/Statement.h +++ b/include/SQLiteCpp/Statement.h @@ -14,6 +14,7 @@ #include #include // SQLITECPP_PURE_FUNC +#include #include #include #include