[Bug 272436] emulators/vmips: fix build with clang 16
Date: Sun, 09 Jul 2023 20:39:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272436 Bug ID: 272436 Summary: emulators/vmips: fix build with clang 16 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: brg@dgate.ORG Created attachment 243324 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243324&action=edit emulators/vmips patch: fix build with clang 16 Error message reported by pkg-fallout: c++ -DHAVE_CONFIG_H -I. -I./libopcodes_mips -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\"/usr/local/share/vmips\" -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT vmips.o -MD -MP -MF .deps/vmips.Tpo -c -o vmips.o vmips.cc [...] vmips.cc:605:7: error: no type named 'set_unexpected' in namespace 'std' std::set_unexpected(vmips_unexpected); ~~~~~^ 1 error generated. gmake[3]: *** [Makefile:508: vmips.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... Fix: - patch out code that sets the unexpected handler. It is not strictly necessary for normal functionality. - apply C++ and C standards appropriate to this program in the port Makefile. -- You are receiving this mail because: You are the assignee for the bug.