Date: Mon, 13 Sep 2021 07:59:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258471] emulators/elliott: fix build with clang 13 Message-ID: <bug-258471-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258471 Bug ID: 258471 Summary: emulators/elliott: fix build with clang 13 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: dim@FreeBSD.org During an exp-run for llvm 13 (see bug 258209), it turned out that emulators/elliott fails to build with clang 13: emulator.c:536:20: error: variable 'y' set but not used [-Werror,-Wunused-but-set-variable] int x, x1, y; ^ 1 error generated. This is because x, x1 and y are used in ncurses getyx() macros, but in this case the program is not interested in the y result. Mark it as __unused to = get rid of the warning. --=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-258471-7788>