[Bug 268277] textproc/scdoc: fix build with clang 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Dec 2022 15:24:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268277 Bug ID: 268277 Summary: textproc/scdoc: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) Assignee: jbeich@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that textproc/scdoc failed to build with clang 15: In file included from src/main.c:12: include/str.h:10:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] struct str *str_create(); ^ void 1 error generated. This is because -Wstrict-prototypes now requires functions taking no parameters to be declared with "(void)". -- You are receiving this mail because: You are the assignee for the bug.