build-sys: Move to compiling with C11 support
authorArun Raghavan <git@arunraghavan.net>
Wed, 17 Feb 2016 14:17:05 +0000 (19:47 +0530)
committerArun Raghavan <git@arunraghavan.net>
Thu, 25 Feb 2016 03:39:13 +0000 (09:09 +0530)
commitaa02e1654bcdfa0677e19ab9bb27b44dc8bf26b9
tree96274c20b4aac48952cdf27d0458c71fe3b79533
parent8949ed96c635959ea9d010c5d4b7fcc021486532
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.
14 files changed:
configure.ac
m4/ax_check_compile_flag.m4 [new file with mode: 0644]
src/Makefile.am
src/tests/connect-stress.c
src/tests/cpu-mix-test.c
src/tests/cpu-remap-test.c
src/tests/cpu-sconv-test.c
src/tests/cpu-volume-test.c
src/tests/cpulimit-test.c
src/tests/extended-test.c
src/tests/get-binary-name-test.c
src/tests/interpol-test.c
src/tests/mult-s16-test.c
src/tests/sync-playback.c