Summary: | media-libs/smpeg-0.4.4-r10: building w/gcc-6: audio/huffmantable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Turco <fturco> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, fkrogh, plevine457, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
build log for media-libs/smpeg-0.4.4-r10 using gcc-6.2.0
emerge --info smpeg-0.4.4-gcc6.patch |
Description
Francesco Turco
2016-08-30 16:16:57 UTC
Created attachment 444462 [details]
emerge --info
Adding -std=gnu++98 to CXXFLAGS fixes the problem. Created attachment 447256 [details, diff]
smpeg-0.4.4-gcc6.patch
I confirm I'm able to correctly build media-libs/smpeg-0.4.4-r10 with patch from comment 3. *** Bug 598452 has been marked as a duplicate of this bug. *** commit ef5af0ae93adbe5f549ad922756f3f566244d274 Author: Alexis Ballier <aballier@gentoo.org> Date: Thu Dec 29 15:17:32 2016 +0100 media-libs/smpeg: fix build with gcc6, bug #592450, patch by Peter Levine. thanks |