Ignore -Waddress for alsaaudio.c
commit6f40c941bd9782fec6af7759f031b49b939009b1
authormalc <av1474@comtv.ru>
Fri, 17 Jul 2009 01:57:04 +0000 (17 05:57 +0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jul 2009 20:40:52 +0000 (22 15:40 -0500)
tree3e1a5b30e80e532648e5711fd76198641ec64afd
parent3b72617c9a8039fb6a08dd0b212bb916cc597d54
Ignore -Waddress for alsaaudio.c

/usr/include/alsa/pcm.h contains:

#define snd_pcm_sw_params_alloca(ptr) do { assert(ptr); *ptr = (snd_pcm_sw_params_t *) alloca(snd_pcm_sw_params_sizeof()); memset(*ptr, 0, snd_pcm_sw_params_sizeof()); } while (0)

The assert generates: "error: the address of 'sw_params' will always
evaluate as 'true'" which combined with -Werror prevents alsaaudio.o
from being built with certain versions of GCC.
audio/alsaaudio.c