[kaffeine] Patch for gcc6 and cmake changes

Mamoru TASAKA mtasaka at fedoraproject.org
Wed Jun 29 06:10:23 CEST 2016


Hello:


----- 元のメッセージ -----
> 差出人: "Orcan Ogetbil" <oget.fedora at gmail.com>
> 宛先: "RPM Fusion developers discussion list" <rpmfusion-developers at lists.rpmfusion.org>
> Cc: kaffeine-owner at rpmfusion.org
> 送信済み: 2016年6月29日, 水曜日 11:43:39
> 件名: Re: [kaffeine] Patch for gcc6 and cmake changes
> 
> On 27 June 2016 at 02:57, Leigh Scott  wrote:
> > commit ed8b668fc05a7f626d5d34e779f58be200b7884c
> > Author: leigh123linux
> > Date:   Mon Jun 27 07:57:17 2016 +0100
> 
> > +-              char cmd[] = { 0xe0, 0x31, 0x6b, config->lnbNumber };
> > ++              char cmd[] = { char(0xe0), 0x31, 0x6b,
> > char(config->lnbNumber) };
> 
> Hi, this looks like a compiler bug to me. I don't see anything
> ambiguous in the first line. Are we sure the compilation error is the
> intended behavior?
> 
> Thanks,
> Orcan
> 

I guess kaffeine is C++ and converting 0xe0 (this is (int)224) to char is 
narrowing conversion, and implicit narrowing conversion on array initialization
is forbidden with gcc6 (i.e. C++14), so now gcc now makes the original
error.

Regards,
Mamoru 


More information about the rpmfusion-developers mailing list