Hello,
On Mon, 12 Apr 2021 11:23:47 -0500
Matt Weber [off-list ref] wrote:
- Worked around Xerces_autoconf_config.hpp: error: ‘char16_t’ does not name a type
by disabling code sourcery toolchains
(ISO C++ forbids declaration - requires ISO C++ 2011 (code sourcery is GCC 4.8)
Meh, how come excluding a Code Sourcery toolchain is a solution to
this? My bug report on the v2 was not even related to a Code Sourcery
toolchain, so the work around proposed in this v3 doesn't even fix the
issue pointed out in v2.
Anyway, the problem is that this package was not passing -std=c++11
when building code, so the build fails on older compilers that did not
use C++11 as their default standard. So I have modified the package to
require gcc >= 4.7 and pass -std=c++11 in CXXFLAGS, and applied.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot