diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-02-26 23:41:29 -0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-03-11 05:00:02 -1000 |
commit | 5cdb675b4219e33eb9f8a5b3be1a6c9efe2099fc (patch) | |
tree | 168ac6803e926c891c204ef54530de68677d788d /meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch | |
parent | ab87c49321a5511060fea6ebff2ffee847f014c0 (diff) | |
download | openembedded-core-5cdb675b4219e33eb9f8a5b3be1a6c9efe2099fc.tar.gz |
rxvt-unicode: Do not use throw specifications
Fixes build with -std=c++17
| ../../rxvt-unicode-9.22/src/../libev/ev++.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
| 379 | default_loop (unsigned int flags = AUTO) throw (bad_loop)
| | ^~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f437b226aac498240bc1e3a02eb0257a7deeedea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch')
-rw-r--r-- | meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch new file mode 100644 index 0000000000..f10dca09d6 --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch @@ -0,0 +1,30 @@ +From 9a8f1d73e7b7e183768a8379ef32429a84f0e5c2 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 26 Feb 2021 18:11:56 -0800 +Subject: [PATCH] libev: remove deprecated throw specification + +removes the throw specifications that are deprecated since C++11: +warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + libev/ev++.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libev/ev++.h b/libev/ev++.h +index 4f0a36a..85ddf44 100644 +--- a/libev/ev++.h ++++ b/libev/ev++.h +@@ -376,7 +376,7 @@ namespace ev { + + struct default_loop : loop_ref + { +- default_loop (unsigned int flags = AUTO) throw (bad_loop) ++ default_loop (unsigned int flags = AUTO) + #if EV_MULTIPLICITY + : loop_ref (ev_default_loop (flags)) + #endif +-- +2.30.1 + |