Description
Jan Beich
2017-01-14 15:41:59 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. settings.cpp: In member function 'bool srchilite::Settings::checkForTestFile()': settings.cpp:97:15: error: no match for 'operator!=' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') return (i != 0); ~~^~~~ settings.cpp: In member function 'bool srchilite::Settings::checkForConfFile()': settings.cpp:104:15: error: no match for 'operator!=' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') return (i != 0); ~~^~~~ settings.cpp: In member function 'bool srchilite::Settings::readDataDir()': settings.cpp:112:11: error: no match for 'operator!=' (operand types are 'std::ifstream {aka std::basic_ifstream<char>}' and 'int') if (i != 0) { ~~^~~~ Maintainer reset. Clang 6 defaults to C++14, so pkg-fallout@ will complain soon. Created attachment 189650 [details]
svn-diff-source_highlight
This port works in the current 12-CURRENT r338331 (In reply to Nathan from comment #5) > This port works in the current 12-CURRENT r338331 Indeed. Looks like C++11 issues were fixed by ports r461455. As of Clang 7 and GCC 8 it still builds fine. http://www.ipv6proxy.net/go.php?u=http://beefy11.nyi.freebsd.org/data/latest-per-pkg/source-highlight/ http://www.ipv6proxy.net/go.php?u=http://beefy12.nyi.freebsd.org/data/latest-per-pkg/source-highlight/ |