Summary: | dev-db/xbase-3.1.2 : /.../xblock.cpp:87:37: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::ostream {aka std::basic_ostream<char>}’) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | plevine457 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
dev-db:xbase-3.1.2:20160918-011851.log
emerge-history.txt environment xbase-3.1.2-gcc6.patch |
Description
Toralf Förster
2016-09-18 08:55:40 UTC
Created attachment 446322 [details]
dev-db:xbase-3.1.2:20160918-011851.log
Created attachment 446324 [details]
emerge-history.txt
Created attachment 446326 [details]
environment
Created attachment 447482 [details, diff]
xbase-3.1.2-gcc6.patch
Looks like fedora patches are a bit different: https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-gcc6.patch https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-gcc7.patch https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-configure-gcc-version-fix.patch (In reply to Pacho Ramos from comment #5) > Looks like fedora patches are a bit different: > https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-gcc6.patch > https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-gcc7.patch > https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-configure- > gcc-version-fix.patch https://src.fedoraproject.org/cgit/rpms/xbase.git/tree/xbase-3.1.2-gcc6.patch is the only one that addresses this specific bug. The original intent of the code was to print that a constructor was called along with the address of std::cout, apparently for debugging purposes (not a good idea for production code). std::ostream is no longer convertible to a void pointer and thus both patches omit printing cout's address. But since the original intent of the code was not to print a newline, I'd probably go with Fedora's patch. Nice, I know that only one was for gcc6... but I wanted to take advantage for fixing it for the future too ;) [master 24f99a8] dev-db/xbase: Fix gcc6/7 support (#594174 by Peter Levine), port to eapi6. 3 files changed, 109 insertions(+), 13 deletions(-) create mode 100644 dev-db/xbase/files/xbase-3.1.2-gcc6.patch create mode 100644 dev-db/xbase/files/xbase-3.1.2-gcc7.patch |