[Buildroot] [PATCH 1/1] package/sdl_sound: Fix build with BR2_ENABLE_DEBUG=yes

Peter Korsgaard jacmet at uclibc.org
Mon Oct 20 06:49:50 UTC 2014


>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:

 > Fixes
 > speex.c: In function 'process_header':
 > speex.c:140:10: error: assignment discards 'const' qualifier from pointer target type [-Werror]
 >      mode = speex_mode_list[header.mode];
 >           ^
 > cc1: all warnings being treated as errors

 > Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>

Thanks, but it would be nice to use something upstreamable
instead. Either fix the constness (speex_mode_list has afaik returned a
const for a very long time) or discuss with upstream about disabling
-Werror in configure.in.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list