Summary: | media-plugins/vdr-vcd-0.9-r2 : functions.h:170:23: error: flexible array member ‘psd_vcd::<anonymous struct>::play_item’ not at end of ‘union psd_vcd’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo VDR Project <vdr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | plevine457 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=632279 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
emerge-history.txt
environment media-plugins:vdr-vcd-0.9-r2:20160918-201345.log ppl-1.1-gcc6.patch vcd-0.9-gcc6.patch |
Description
Toralf Förster
2016-09-18 20:30:33 UTC
Created attachment 446486 [details]
emerge-history.txt
Created attachment 446488 [details]
environment
Created attachment 446490 [details]
media-plugins:vdr-vcd-0.9-r2:20160918-201345.log
Created attachment 447680 [details, diff] ppl-1.1-gcc6.patch This patch alters the zero-length arrays of two structs in one union to be the length of one element, as there is no use in this package beyond the size of one element. I'm not certain about its effect on dependent packages or API compatibility as I have little experience with zero-length arrays. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69550 Created attachment 447682 [details, diff]
vcd-0.9-gcc6.patch
Last patch was incorrect patch. I'll repeat the comments:
This patch alters the zero-length arrays of two structs in one union to be the length of one element, as there is no use in this package beyond the size of one element. I'm not certain about its effect on dependent packages or API compatibility as I have little experience with zero-length arrays.
fixed in tree media-plugins/vdr-vcd-0.9-r3 thx to P.Levine for providing this patch Let the user test this changes, but iam unshure if is some one using Video CD's around the world this time ;) anyway, gcc-6 is happy ;) ... |