* [Buildroot] [PATCH 1/1] package/pistache: fix build with gcc >= 13
@ 2023-11-02 17:11 Fabrice Fontaine
2023-11-02 17:46 ` Thomas Petazzoni via buildroot
2023-11-08 13:39 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-11-02 17:11 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fix the following build failure with gcc >= 13:
In file included from ../include/pistache/reactor.h:19,
from ../src/common/reactor.cc:13:
../include/pistache/flags.h:29:35: error: 'uint8_t' was not declared in this scope
29 | struct TypeStorage<sizeof(uint8_t)>
| ^~~~~~~
../include/pistache/flags.h:17:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
16 | #include <iostream>
+++ |+#include <cstdint>
17 | #include <type_traits>
Fixes:
- http://autobuild.buildroot.org/results/d3b6eb6fb943d69571a311235944df879fccc831
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
| 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 package/pistache/0003-Add-missing-cstdint-header-include-1142.patch
--git a/package/pistache/0003-Add-missing-cstdint-header-include-1142.patch b/package/pistache/0003-Add-missing-cstdint-header-include-1142.patch
new file mode 100644
index 0000000000..3451e4aa4c
--- /dev/null
+++ b/package/pistache/0003-Add-missing-cstdint-header-include-1142.patch
@@ -0,0 +1,23 @@
+From dabe9fcd3eaaa6b0b8723369b2565778341630c0 Mon Sep 17 00:00:00 2001
+From: a-andre <13609565+a-andre@users.noreply.github.com>
+Date: Thu, 29 Jun 2023 16:34:11 +0200
+Subject: [PATCH] Add missing cstdint header include (#1142)
+
+Upstream: https://github.com/pistacheio/pistache/commit/dabe9fcd3eaaa6b0b8723369b2565778341630c0
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ include/pistache/flags.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/pistache/flags.h b/include/pistache/flags.h
+index 9be2b32bb..6adcc74bc 100644
+--- a/include/pistache/flags.h
++++ b/include/pistache/flags.h
+@@ -13,6 +13,7 @@
+ #pragma once
+
+ #include <climits>
++#include <cstdint>
+ #include <iostream>
+ #include <type_traits>
+
--
2.42.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/pistache: fix build with gcc >= 13
2023-11-02 17:11 [Buildroot] [PATCH 1/1] package/pistache: fix build with gcc >= 13 Fabrice Fontaine
@ 2023-11-02 17:46 ` Thomas Petazzoni via buildroot
2023-11-08 13:39 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-11-02 17:46 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
On Thu, 2 Nov 2023 18:11:18 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with gcc >= 13:
>
> In file included from ../include/pistache/reactor.h:19,
> from ../src/common/reactor.cc:13:
> ../include/pistache/flags.h:29:35: error: 'uint8_t' was not declared in this scope
> 29 | struct TypeStorage<sizeof(uint8_t)>
> | ^~~~~~~
> ../include/pistache/flags.h:17:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
> 16 | #include <iostream>
> +++ |+#include <cstdint>
> 17 | #include <type_traits>
>
> Fixes:
> - http://autobuild.buildroot.org/results/d3b6eb6fb943d69571a311235944df879fccc831
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...-missing-cstdint-header-include-1142.patch | 23 +++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 package/pistache/0003-Add-missing-cstdint-header-include-1142.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/pistache: fix build with gcc >= 13
2023-11-02 17:11 [Buildroot] [PATCH 1/1] package/pistache: fix build with gcc >= 13 Fabrice Fontaine
2023-11-02 17:46 ` Thomas Petazzoni via buildroot
@ 2023-11-08 13:39 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-11-08 13:39 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure with gcc >= 13:
> In file included from ../include/pistache/reactor.h:19,
> from ../src/common/reactor.cc:13:
> ../include/pistache/flags.h:29:35: error: 'uint8_t' was not declared in this scope
> 29 | struct TypeStorage<sizeof(uint8_t)>
> | ^~~~~~~
> ../include/pistache/flags.h:17:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
> 16 | #include <iostream>
> +++ |+#include <cstdint>
> 17 | #include <type_traits>
> Fixes:
> - http://autobuild.buildroot.org/results/d3b6eb6fb943d69571a311235944df879fccc831
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2023.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-08 13:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-02 17:11 [Buildroot] [PATCH 1/1] package/pistache: fix build with gcc >= 13 Fabrice Fontaine
2023-11-02 17:46 ` Thomas Petazzoni via buildroot
2023-11-08 13:39 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox