[Buildroot] [PATCH 1/1] package/libodb: fix build with gcc 11
Peter Korsgaard
peter at korsgaard.com
Sat Aug 7 20:44:34 UTC 2021
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at 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 at gmail.com>
Committed to 2021.02.x and 2021.05.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list