Re: [AD] kcm_audio warnings |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Ryan Patterson wrote:
The only warnings in Allegro are in these two files: addons/kcm_audio/alsa.c: In function 'alsa_allocate_voice': addons/kcm_audio/alsa.c:441: warning: the address of 'hwparams' will always evaluate as 'true' addons/kcm_audio/alsa.c:457: warning: the address of 'swparams' will always evaluate as 'true' I haven't looked into the first file, but the seconds looks like something that can't be resolved with code. I recommend compiling kcm_audio with -Wno-always-true.
It's in an ALSA macro. I think it is fixed in one of the newer alsa-lib versions. -- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |