Summary: | media-libs/libraw-0.17.1: building w/ gcc-6: error: narrowing conversion of '128' from 'int' to 'signed char' inside { } [-Wnarrowing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Levine <plevine457> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fturco, jstein, plevine457 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: | libraw-0.17.1-gcc6.patch |
Description
Peter Levine
2016-05-12 19:02:50 UTC
Created attachment 434102 [details, diff] libraw-0.17.1-gcc6.patch Backported from upstream: https://github.com/LibRaw/LibRaw/commit/eba7a66e23f2f62cc4c8115af8066f2df5da085a (In reply to Peter Levine from comment #1) > Created attachment 434102 [details, diff] [details, diff] > libraw-0.17.1-gcc6.patch > > Backported from upstream: > > https://github.com/LibRaw/LibRaw/commit/ > eba7a66e23f2f62cc4c8115af8066f2df5da085a Thanks, I reproduced the problem compiling both 0.17.1 and 0.17.2 with gcc 6.1.0, and the patch fixes the problem with both 0.17.1 and 0.17.2. commit 8ecfa678744847c6e13bc5659e6d88c45a321ce5 Author: David Seifert <soap@gentoo.org> Date: Mon Nov 14 19:10:07 2016 +0100 media-libs/libraw: Allow for compiling with GCC 6 Gentoo-bug: 582852 * Patch by Peter Levine * Add pkg_setup() check * Disable building of static libraries * Prune .la files unconditionally |