Summary: | dev-db/kyotocabinet-1.2.76-r1 : kcdbext.h:1281:14: error: cannot convert ‘bool’ to ‘char*’ in return | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, plevine457 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
dev-db:kyotocabinet-1.2.76-r1:20160917-064333.log
emerge-history.txt environment kyotocabinet-1.2.76-gcc6.patch kyotocabinet-1.2.76-gcc6.patch kyotocabinet-1.2.76-gcc6.patch |
Description
Toralf Förster
2016-09-17 08:45:32 UTC
Created attachment 446104 [details]
dev-db:kyotocabinet-1.2.76-r1:20160917-064333.log
Created attachment 446106 [details]
emerge-history.txt
Created attachment 446108 [details]
environment
Created attachment 447286 [details, diff]
kyotocabinet-1.2.76-gcc6.patch
Fedora patch is a bit different: https://src.fedoraproject.org/cgit/rpms/kyotocabinet.git/tree/kyotocabinet-1.2.76-gcc6.patch Created attachment 469214 [details, diff] kyotocabinet-1.2.76-gcc6.patch (In reply to Pacho Ramos from comment #5) > Fedora patch is a bit different: > https://src.fedoraproject.org/cgit/rpms/kyotocabinet.git/tree/kyotocabinet-1. > 2.76-gcc6.patch The Fedora patch uses 'nullptr' which, though IMHO is the clearest choice when building using >=C++11 dialect, is not defined in C++98. Returning '0' or 'NULL' should work regardless of the dialect. I'm updating the patch to use 'NULL' instead of '0' since I think it is more clear that what is being returned is a pointer. Created attachment 469216 [details, diff]
kyotocabinet-1.2.76-gcc6.patch
[master afd7323] dev-db/kyotocabinet: Fix gcc6 support (#594064 by Peter Levine), port to eapi6, use ltprune.eclass 2 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 dev-db/kyotocabinet/files/kyotocabinet-1.2.76-gcc6.patch |