Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jul 2023 20:39:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272436] emulators/vmips: fix build with clang 16
Message-ID:  <bug-272436-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272436

            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=3D243324&action=
=3Dedit
emulators/vmips patch: fix build with clang 16

Error message reported by pkg-fallout:

c++ -DHAVE_CONFIG_H -I.    -I./libopcodes_mips -DSYSCONFDIR=3D\"/usr/local/=
etc\"
-DPKGDATADIR=3D\"/usr/local/share/vmips\"
-fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasin=
g=20=20
-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 neces=
sary
for normal functionality.

- apply C++ and C standards appropriate to this program in the port Makefil=
e.

--=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-272436-7788>