mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
python3-icu: Fix build with GCC-15
drop is_trivial check Fixes | In file included from bases.cpp:32: | arg.h:856:37: error: static assertion failed | 856 | static_assert(std::is_trivial<T>::value); \ | | ~~~~~~~~~~~~~~~~~~~~^~~~~ | arg.h:859:1: note: in expansion of macro '_IS_POD' | 859 | _IS_POD(AnyPythonObject); | | ^~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 3d58fb48bb1cef2177aab8e291167638993495f4 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 3 May 2025 21:27:34 -0700
|
||||
Subject: [PATCH] Remove assert checking for trivial type
|
||||
|
||||
This fails with GCC-15, is_trivial is deprecated in C++26
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
arg.h | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/arg.h b/arg.h
|
||||
index a493d11..6cb232d 100644
|
||||
--- a/arg.h
|
||||
+++ b/arg.h
|
||||
@@ -853,7 +853,6 @@ public:
|
||||
};
|
||||
|
||||
#define _IS_POD(T) \
|
||||
- static_assert(std::is_trivial<T>::value); \
|
||||
static_assert(std::is_standard_layout<T>::value)
|
||||
|
||||
_IS_POD(AnyPythonObject);
|
||||
Reference in New Issue
Block a user