Bug 216053 - devel/libclaw: falis to build with lang/gcc6 or later
Summary: devel/libclaw: falis to build with lang/gcc6 or later
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2017-01-14 05:34 UTC by Jan Beich
Modified: 2017-08-23 11:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2017-01-14 05:34:09 UTC
claw/code/configuration_file.cpp:444:8: error: no viable conversion from 'std::__1::basic_istream<char>' to 'bool'

build log: http://sprunge.us/deAO
regressed by: https://github.com/llvm-mirror/libcxx/commit/3a1b90a866b6
Comment 1 Jan Beich freebsd_committer 2017-01-14 05:34:50 UTC
(In reply to Dimitry Andric from bug 216034 comment #6)
> Note that the upstream author has reverted the commit causing this here:
>
> http://llvm.org/viewvc/llvm-project?rev=291921&view=rev
>
> and has also merged it to the 4.0 branch. I will import the upstream
> branch into the projects/clang400-import branch soon.

lang/gcc6 and later versions are also affected.

claw/code/configuration_file.cpp: In member function 'bool claw::configuration_file::get_line(std::istream&, const claw::configuration_file::syntax_description&, std::__cxx11::string&) const':
claw/code/configuration_file.cpp:444:39: error: cannot convert 'std::basic_istream<char>' to 'bool' in initialization
   bool result = text::getline(is, line);
                                       ^
Comment 2 Dmitry Marakasov freebsd_committer 2017-08-23 11:54:44 UTC
The port is now deprecated, no need to fix this.