Summary: | media-plugins/fdk-aac-0.1.4 fails to build with GCC 6: Narrowing conversion from unsigned int to long int | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aric Belsito <lluixhi> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eugene.shalygin |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: | Patch to enable building fdk-aac with GCC6 and no standard switch. |
Description
Aric Belsito
2016-06-10 21:31:21 UTC
Created attachment 437418 [details, diff]
Patch to enable building fdk-aac with GCC6 and no standard switch.
(In reply to Aric Belsito from comment #1) > Created attachment 437418 [details, diff] [details, diff] > Patch to enable building fdk-aac with GCC6 and no standard switch. I see that upstream just took the shortcut route and added -std=c++98, which sucks of course and is not in line with our policy on C++, which aims to be as -std= agnostic as possible for C++, in order to not upset dependant packages. Aric, I might still merge your patches, because I prefer your solution as it remains compatible with C++14. @Aric, thanks for the patch, I believe this is the way we should fix C++98 -> C++14 bugs, by making packages -std=c++{98,14} agnostic. commit f935b696c978db5b42158ec93896ca4bf3400bf2 Author: David Seifert <soap@gentoo.org> Date: Wed Sep 14 20:56:58 2016 +0200 media-libs/fdk-aac: Allow for compiling with GCC 6 Gentoo-bug: 585556 * EAPI=6 |