[k3b] [Bug 363078] New: Building k3b-2.0.3 with GCC-6 fails with "error: narrowing conversion of '172' from 'int' to 'char' inside { } [-Wnarrowing]"
via KDE Bugzilla
bugzilla_noreply at kde.org
Sat May 14 16:57:24 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=363078
Bug ID: 363078
Summary: Building k3b-2.0.3 with GCC-6 fails with "error:
narrowing conversion of '172' from 'int' to 'char'
inside { } [-Wnarrowing]"
Product: k3b
Version: unspecified
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: k3b at kde.org
Reporter: nsane457 at gmail.com
CC: michalm at jabster.pl, trueg at kde.org
Building k3b-2.0.3 with GCC-6 fails with narrowing conversion errors such as:
> /var/tmp/portage/app-cdr/k3b-2.0.3-r2/work/k3b-2.0.3/libk3b/tools/k3bwavefilewriter.cpp: In member function 'void K3b::WaveFileWriter::writeEmptyHeader()':
> /var/tmp/portage/app-cdr/k3b-2.0.3-r2/work/k3b-2.0.3/libk3b/tools/k3bwavefilewriter.cpp:125:9: error: narrowing conversion of '172' from 'int' to 'char' inside { } [-Wnarrowing
GCC-6 no longer allows for narrowing conversions inside braced initialization
lists.
Reproducible: Always
Steps to Reproduce:
1. emerge -1 =app-cdr/k3b-2.0.3-r2
Actual Results:
error: narrowing conversion of '172' from 'int' to 'char' inside { }
[-Wnarrowing]
Expected Results:
Successful merge.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the k3b
mailing list