[Buildroot] [PATCH 2/3] package/urg: fix build with gcc-6

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 15 10:24:07 UTC 2016


Hello,

On Mon, 12 Sep 2016 21:23:23 +0200, Samuel Martin wrote:
> Add patch fixing/adding explicit cast on negative value in char[], which
> is required with gcc-6 (see "Narrowing conversions" paragraph in [1])
> 
> Fixes:
>   http://autobuild.buildroot.net/results/d0c/d0cd11163753db69a14c02e941dbda40e5f98bba/
> 
> [1] https://gcc.gnu.org/gcc-6/porting_to.html
> 
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> ---
>  .../0002-urg-gcc6-fix-narrowing-conversion.patch   | 99 ++++++++++++++++++++++
>  1 file changed, 99 insertions(+)
>  create mode 100644 package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list