Bug#811671: FTBFS with GCC 6: cannot convert x to y
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 00:48:41 UTC 2016
Package: audacity
Version: 2.0.6-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wno-unused-local-typedefs -I../lib-src/portmixer/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -I../lib-src/FileDialog -c -o prefs/audacity-EffectsPrefs.o `test -f 'prefs/EffectsPrefs.cpp' || echo './'`prefs/EffectsPrefs.cpp
> import/ImportFLAC.cpp: In member function 'virtual void MyFLACFile::metadata_callback(const FLAC__StreamMetadata*)':
> import/ImportFLAC.cpp:183:11: warning: enumeration value 'FLAC__MAX_METADATA_TYPE' not handled in switch [-Wswitch]
> switch (metadata->type)
> ^
>
> import/ImportFLAC.cpp: In member function 'virtual ImportFileHandle* FLACImportPlugin::Open(wxString)':
> import/ImportFLAC.cpp:299:14: error: cannot convert 'bool' to 'ImportFileHandle*' in return
> return false; // File not found
> ^~~~~
>
> import/ImportFLAC.cpp:316:14: error: cannot convert 'bool' to 'ImportFileHandle*' in return
> return false;
> ^~~~~
>
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-multimedia-maintainers
mailing list