* [Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11
@ 2021-08-01 21:29 Fabrice Fontaine
2021-08-02 16:29 ` Arnout Vandecappelle
2021-08-07 20:44 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-08-01 21:29 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fix the following build failure with gcc 11:
In file included from details/shared-ptr/base.cxx:5:
../odb/details/shared-ptr/base.hxx:38:49: error: ISO C++17 does not allow dynamic exception specifications
38 | operator new (std::size_t, odb::details::share) throw (std::bad_alloc);
| ^~~~~
Fixes:
- http://autobuild.buildroot.org/results/cfd5f92f0aa923815edba5fbfcd5b7b312d9d40e
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libodb/libodb.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libodb/libodb.mk b/package/libodb/libodb.mk
index f36d8957c0..11ca9de866 100644
--- a/package/libodb/libodb.mk
+++ b/package/libodb/libodb.mk
@@ -11,5 +11,6 @@ LIBODB_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_VERSION_MAJOR)
LIBODB_INSTALL_STAGING = YES
LIBODB_LICENSE = GPL-2.0
LIBODB_LICENSE_FILES = LICENSE
+LIBODB_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
$(eval $(autotools-package))
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11
2021-08-01 21:29 [Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11 Fabrice Fontaine
@ 2021-08-02 16:29 ` Arnout Vandecappelle
2021-08-07 20:44 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2021-08-02 16:29 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
On 01/08/2021 23:29, Fabrice Fontaine wrote:
> Fix the following build failure with gcc 11:
>
> In file included from details/shared-ptr/base.cxx:5:
> ../odb/details/shared-ptr/base.hxx:38:49: error: ISO C++17 does not allow dynamic exception specifications
> 38 | operator new (std::size_t, odb::details::share) throw (std::bad_alloc);
> | ^~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/cfd5f92f0aa923815edba5fbfcd5b7b312d9d40e
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/libodb/libodb.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/libodb/libodb.mk b/package/libodb/libodb.mk
> index f36d8957c0..11ca9de866 100644
> --- a/package/libodb/libodb.mk
> +++ b/package/libodb/libodb.mk
> @@ -11,5 +11,6 @@ LIBODB_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_VERSION_MAJOR)
> LIBODB_INSTALL_STAGING = YES
> LIBODB_LICENSE = GPL-2.0
> LIBODB_LICENSE_FILES = LICENSE
> +LIBODB_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
>
> $(eval $(autotools-package))
>
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11
2021-08-01 21:29 [Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11 Fabrice Fontaine
2021-08-02 16:29 ` Arnout Vandecappelle
@ 2021-08-07 20:44 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-08-07 20:44 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure with gcc 11:
> In file included from details/shared-ptr/base.cxx:5:
> ../odb/details/shared-ptr/base.hxx:38:49: error: ISO C++17 does not allow dynamic exception specifications
> 38 | operator new (std::size_t, odb::details::share) throw (std::bad_alloc);
> | ^~~~~
> Fixes:
> - http://autobuild.buildroot.org/results/cfd5f92f0aa923815edba5fbfcd5b7b312d9d40e
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2021.02.x and 2021.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-07 20:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01 21:29 [Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11 Fabrice Fontaine
2021-08-02 16:29 ` Arnout Vandecappelle
2021-08-07 20:44 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.