Date: Fri, 08 Jan 2021 06:23:44 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252502] games/libretro-beetle_bsnes: fail to build with clang11 Message-ID: <bug-252502-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252502 Bug ID: 252502 Summary: games/libretro-beetle_bsnes: fail to build with clang11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: rozhuk.im@gmail.com CC: menelkir@itroll.org Flags: maintainer-feedback?(menelkir@itroll.org) CC: menelkir@itroll.org Upstream already have fix: https://github.com/libretro/beetle-bsnes-libretro/commit/b65ded5bde278c18af= 538c687db9b72c995b220a In file included from mednafen/snes/src/chip/srtc/srtc.cpp:1: In file included from ./mednafen/snes/src/lib/../base.hpp:46: In file included from ./mednafen/snes/src/lib/../interface.hpp:19: In file included from ./mednafen/snes/src/lib/../cpu/core/core.hpp:3: ./mednafen/snes/src/lib/../cpu/core/registers.hpp:15:54: error: no matching member function for call to 'operator=3D' inline unsigned operator|=3D(unsigned data) { return operator=3D(operator unsigned() | data); } ^~~~~~~~~ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:1:8: note: candidate func= tion (the implicit move assignment operator) not viable: no known conversion from 'unsigned int' to 'SNES::CPUcore::flag_t' for 1st argument struct flag_t { ^ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:1:8: note: candidate func= tion (the implicit copy assignment operator) not viable: no known conversion from 'unsigned int' to 'const SNES::CPUcore::flag_t' for 1st argument struct flag_t { ^ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:16:54: error: no matching member function for call to 'operator=3D' inline unsigned operator^=3D(unsigned data) { return operator=3D(operator unsigned() ^ data); } ^~~~~~~~~ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:1:8: note: candidate func= tion (the implicit move assignment operator) not viable: no known conversion from 'unsigned int' to 'SNES::CPUcore::flag_t' for 1st argument struct flag_t { ^ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:1:8: note: candidate func= tion (the implicit copy assignment operator) not viable: no known conversion from 'unsigned int' to 'const SNES::CPUcore::flag_t' for 1st argument struct flag_t { ^ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:17:54: error: no matching member function for call to 'operator=3D' inline unsigned operator&=3D(unsigned data) { return operator=3D(operator unsigned() & data); } ^~~~~~~~~ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:1:8: note: candidate func= tion (the implicit move assignment operator) not viable: no known conversion from 'unsigned int' to 'SNES::CPUcore::flag_t' for 1st argument struct flag_t { ^ ./mednafen/snes/src/lib/../cpu/core/registers.hpp:1:8: note: candidate func= tion (the implicit copy assignment operator) not viable: no known conversion from 'unsigned int' to 'const SNES::CPUcore::flag_t' for 1st argument struct flag_t { ^ 3 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252502-7788>