diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-18 22:41:58 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-18 22:42:08 +0100 |
commit | e5fd69e7be7b26a7b7481453553393865d823906 (patch) | |
tree | 79ff117f357575a131e847a26de5623a800e7c1a /app-i18n/man-pages-zh_CN | |
parent | sys-boot/grub: Allow user patchset (diff) | |
download | gentoo-e5fd69e7be7b26a7b7481453553393865d823906.tar.gz gentoo-e5fd69e7be7b26a7b7481453553393865d823906.tar.bz2 gentoo-e5fd69e7be7b26a7b7481453553393865d823906.zip |
sci-biology/abyss: bump up to 1.9.0, tweak for gcc-6, bug #594254
On gcc-6 build failed as:
```
In file included from AssemblyAlgorithms.cpp:4:0:
../DataLayer/FastaReader.h: In member function ‘FastaReader::operator void*() const’:
../DataLayer/FastaReader.h:49:35: error: cannot convert ‘std::istream {aka std::basic_istream<char>}’ to ‘void*’ ...
operator void*() const { return m_in; }
^~~~
```
In the following source:
```c++
static bool existFile(const char* f)
{
ifstream file(f);
return file;
}
```
c++98 provides file->operator void*()
c++11 provides file->explicit operator bool()
Hence the failure on c++11.
The change adds explicit casts around ifstream.
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/594254
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-i18n/man-pages-zh_CN')
0 files changed, 0 insertions, 0 deletions