Created attachment 444454 [details] build log for audacity-2.0.5-r1 using gcc-6.2.0 After upgrading gcc to version 6.2.0 I can't build media-sound/audacity-2.0.5-r1 anymore. Error: > 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; > ^~~~~ I can build audacity with gcc-5.4.0 without any problems. -------- # emerge -pv audacity These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-sound/audacity-2.0.5-r1::gentoo USE="alsa flac mp3 vorbis (-ffmpeg) -id3tag -jack -ladspa -libsamplerate -midi -sbsms -soundtouch -twolame -vamp" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Created attachment 444456 [details] emerge --info
Created attachment 444652 [details, diff] patch for building audacity-2.0.5-r1 with GCC 6.x
commit 5c43afe6861275a05aeb4d6b6e45cdbbccfef21b Author: David Seifert <soap@gentoo.org> Date: Sat Sep 17 15:15:50 2016 +0200 media-sound/audacity: Allow for compiling with GCC 6 Gentoo-bug: 592448 * Patch by OpenSUSE
Just to confirm, this is fixed upstream for 2.1.3 and onwards (nullptr rather than NULL, but same effect).
audacity-2.0.5-r1 has still not been patched for gcc6. Commit 5c43afe6861275a05aeb4d6b6e45cdbbccfef21b only applies to version 2.1.2 (which is currently red masked).