Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 448922 Details for
Bug 595764
media-sound/audacity-2.0.5-r1[flac] with sys-devel/gcc-6.2.0-r1 - error: cannot convert 'bool' to 'ImportFileHandle*' in return
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
instead of boolean it should return NULL
audacity-gcc6.patch (text/plain), 681 bytes, created by
milan hodoscek
on 2016-10-03 00:31:54 UTC
(
hide
)
Description:
instead of boolean it should return NULL
Filename:
MIME Type:
Creator:
milan hodoscek
Created:
2016-10-03 00:31:54 UTC
Size:
681 bytes
patch
obsolete
>diff --git a/old/ImportFLAC.cpp b/src/import/ImportFLAC.cpp >index b021daa..46a0661 100644 >--- a/old/ImportFLAC.cpp >+++ b/src/import/ImportFLAC.cpp >@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open(wxString filename) > int cnt; > wxFile binaryFile; > if (!binaryFile.Open(filename)) { >- return false; // File not found >+ return NULL; // File not found > } > > #ifdef USE_LIBID3TAG >@@ -313,7 +313,7 @@ ImportFileHandle *FLACImportPlugin::Open(wxString filename) > > if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) { > // File is not a FLAC file >- return false; >+ return NULL; > } > > // Open the file for import
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 595764
:
448678
| 448922