Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: [ARM] gcc 4.6

Re: [ARM] gcc 4.6

From: Nils Wallménius <nils.wallmenius_at_gmail.com>
Date: Mon, 20 Sep 2010 00:41:13 +0200

On Sun, Sep 19, 2010 at 2:48 PM, Rafaël Carré <rafael.carre_at_gmail.com> wrote:
> In file included from apps/codecs/libffmpegFLAC/bitstream.h:10:0,
>                 from apps/codecs/libffmpegFLAC/decoder.c:40:
> apps/codecs/lib/ffmpeg_get_bits.h: In function ‘skip_bits’:
> apps/codecs/lib/ffmpeg_get_bits.h:435:44: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]

I looked at these and they are from ffmpeg code and the same warning
happens also with ffmpeg from svn. The function isn't called very
often and comments indicate gcc optimizes away the var anyway. So i
think those are harmless and can be left alone untill we want to
switch to gcc 4.6 or ffmpeg fixes them.

Nils
Received on 2010-09-20


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa