[AD] kcm_audio warnings

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The only warnings in Allegro are in these two files:

addons/kcm_audio/kcm_stream.c: In function '_al_kcm_feed_stream':
addons/kcm_audio/kcm_stream.c:556: warning: dereferencing type-punned
pointer will break strict-aliasing rules
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.

-- 
Regards,
Ryan Patterson <mailto:cgamesplay@xxxxxxxxxx>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/