Summary: | graphics/vulkan-tools: Disable compiler warnings as errors | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Daniel Engberg <diizzy> | ||||
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Keywords: | regression | ||||
Priority: | --- | Flags: | diizzy:
maintainer-feedback?
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://github.com/KhronosGroup/Vulkan-Tools/issues/686 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 266721 | ||||||
Attachments: |
|
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2663085f868eb72a8495562cd97ef5fdce88d175 commit 2663085f868eb72a8495562cd97ef5fdce88d175 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-10-05 15:06:56 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-10-05 15:09:57 +0000 graphics/vulkan-tools: unbreak with -DNDEBUG after 7c313a5dcadd cube/cube.c:3122:14: error: variable 'result' set but not used [-Werror,-Wunused-but-set-variable] VkResult result; ^ PR: 266842 Reported by: diizzy, antoine (via exp-run) graphics/vulkan-tools/Makefile | 3 +++ graphics/vulkan-tools/distinfo | 2 ++ 2 files changed, 5 insertions(+) Thanks Jan for fixing and upstreaming. Best regards, Daniel |
Created attachment 237098 [details] Patch for vulkan-tools As of PR 266721 BUILD_WERROR needs to be turned off to port to compile Compile tested on 13.1-STABLE (amd64)