Date: Thu, 08 Dec 2022 17:07:00 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: maintainer-feedback requested: [Bug 268250] audio/pulseaudio: fix build with clang 15 Message-ID: <bug-268250-39348-aB1ejudKFA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268250-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-268250-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 268250: audio/pulseaudio: fix build with clang 15 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268250 --- Description --- audio/pulseaudio: fix build with clang 15 During an exp-run for llvm 15 (see bug 265425), it turned out that devel/pulseaudio failed to build with clang 15: checking whether C compiler accepts -std=3Dgnu11... no configure: error: *** Compiler does not support -std=3Dgnu11 =3D=3D=3D> Script "configure" failed unexpectedly. The configure script compiles a few test cases with -pedantic -Werror, and = with clang 15 this results in a -Wstrict-prototypes error, since the test cases = use "int main ()" instead of "int main (void)". Replace instances of "int main()" with "int main (void)" in the configure script to work around this problem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268250-39348-aB1ejudKFA>