Summary: | Building kopete-16.04.0 with GCC-6.1.0 fails with "error: could not convert 'false' from 'bool' to 'const Kopete::MetaContact*'" | ||
---|---|---|---|
Product: | [Applications] kopete | Reporter: | nsane457 |
Component: | History Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | johu, kensington, lbeltrame, nsane457 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kopete/9f994ba6950117cbbeefc6027fa0a52ce74932e2 | Version Fixed In: | 16.04.2 |
Attachments: |
kopete-16.04.0-gcc6.patch
kopete-16.04.0-gcc6.patch |
Description
nsane457
2016-05-14 02:50:05 UTC
Created attachment 98951 [details]
kopete-16.04.0-gcc6.patch
Changes "const Kopete::MetaContact *c=false" to "const Kopete::MetaContact *c=nullptr".
Created attachment 99003 [details]
kopete-16.04.0-gcc6.patch
nullptr is not available for gnu++98 but NULL works fine for gnu++98 and gnu++14
Please submit this patch through reviewboard.kde.org if possible. Patches through Bugzilla are likely to get lost. (In reply to Luca Beltrame from comment #3) > Please submit this patch through reviewboard.kde.org if possible. Patches > through Bugzilla are likely to get lost. Done: https://git.reviewboard.kde.org/r/128006/ Git commit 9f994ba6950117cbbeefc6027fa0a52ce74932e2 by Pali Rohár, on behalf of Peter Levine. Committed on 31/05/2016 at 15:40. Pushed by pali into branch 'Applications/16.04'. Fix compilation with GCC 6 REVIEW: 128006 FIXED-IN: 16.04.2 M +1 -1 plugins/history2/history2logger.h http://commits.kde.org/kopete/9f994ba6950117cbbeefc6027fa0a52ce74932e2 |