[Buildroot] [PATCH 1/1] package/efl: fix build with poppler and gcc 5

Peter Korsgaard peter at korsgaard.com
Wed May 6 05:46:27 UTC 2020


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

 > -std=c++11 is needed to avoid the following build failure with poppler
 > and gcc 5:

 > /home/naourr/work/instance-0/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/poppler/cpp/poppler-page.h:40:37: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11
 > /home/naourr/work/instance-0/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/poppler/cpp/poppler-page.h:70:10: error: 'unique_ptr' in namespace 'std' does not name a template type
 >      std::unique_ptr<text_box_data> m_data;
 >           ^
 > Fixes:
 >  - http://autobuild.buildroot.org/results/3428b9017168db9239756dc06cdaa5ae004cab97

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2020.02.x, thanks.

I initially worried if older gcc versions (efl only requires 4.7+)
support the -std=c++11 option, but according to the release notes it was
added in 4.7:

https://gcc.gnu.org/gcc-4.7/changes.html

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list