https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268250
Bug ID: 268250
Summary: audio/pulseaudio: 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: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
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=gnu11... no
configure: error: *** Compiler does not support -std=gnu11
===> 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.
--
You are receiving this mail because:
You are the assignee for the bug.