mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
build-sys: Move to compiling with C11 support
This is needed for building with anonymous unions. A bunch of calls to fail() that used to mysteriously work need fixing -- fail() is a macro that takes a printf-style message as an argument. Not passing this somehow worked with the previous compiler flags, but breaks with -std=c11.
This commit is contained in:
parent
8949ed96c6
commit
aa02e1654b
14 changed files with 98 additions and 20 deletions
|
|
@ -144,7 +144,7 @@ static void context_state_callback(pa_context *c, void *userdata) {
|
|||
case PA_CONTEXT_FAILED:
|
||||
default:
|
||||
pa_log_error("Context error: %s", pa_strerror(pa_context_errno(c)));
|
||||
fail();
|
||||
ck_abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue