[Buildroot] [PATCH 1/1] package/libloki: fix build with gcc 11

Peter Korsgaard peter at korsgaard.com
Sat Aug 7 19:18:31 UTC 2021


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > Fix the following build failure with gcc 11:
 > In file included from ../include/loki/SmartPtr.h:33,
 >                  from SmartPtr.cpp:20:
 > ../include/loki/SmallObj.h: At global scope:
 > ../include/loki/SmallObj.h:462:57: error: ISO C++17 does not allow dynamic exception specifications
 >   462 |         static void * operator new ( std::size_t size ) throw ( std::bad_alloc )
 >       |

 > Fixes:
 >  - http://autobuild.buildroot.org/results/768727160beaca5df3ef18be29cfbaa3ced67ad5

 > 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