[Bug 216077] games/vamos: fails to build with libc++ 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 14 16:16:25 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216077

--- Comment #1 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
(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.

XML_Parser.cc: In member function 'void
Vamos_Media::XML_Parser::read(std::__cxx11::string)':
XML_Parser.cc:394:39: error: no match for 'operator==' (operand types are
'std::ifstream {aka std::basic_ifstream<char>}' and 'int')
   if ((mp_stream == 0) || (*mp_stream == 0))
                            ~~~~~~~~~~~^~~~
Ac3d.cc: In constructor 'Vamos_Media::Ac3d::Ac3d(std::__cxx11::string, double,
const Vamos_Geometry::Three_Vector&, const Vamos_Geometry::Three_Vector&)':
Ac3d.cc:894:9: error: no match for 'operator==' (operand types are
'std::ifstream {aka std::basic_ifstream<char>}' and 'int')
  if (is == 0)
      ~~~^~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list