Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1459 closed defect (fixed)

build error with --enable-hardcoded-tables

Reported by: yxmlines Owned by:
Priority: important Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

make error
libavcodec/aacsbr.c:1700:19: warning: passing argument 3 of 'sbr_x_gen' f
ompatible pointer type [enabled by default]
libavcodec/aacsbr.c:1369:12: note: expected 'const float (*)[64][2]' but
t is of type 'float (*)[64][2]'
libavcodec/aacsbr.c:1700:19: warning: passing argument 4 of 'sbr_x_gen' f
ompatible pointer type [enabled by default]
libavcodec/aacsbr.c:1369:12: note: expected 'const float (*)[64][2]' but
t is of type 'float (*)[64][2]'
libavcodec/aacsbr.c:1700:19: warning: passing argument 5 of 'sbr_x_gen' f
ompatible pointer type [enabled by default]
libavcodec/aacsbr.c:1369:12: note: expected 'const float (*)[40][2]' but
t is of type 'float (*)[40][2]'
libavcodec/aacsbr.c: In function 'ff_decode_sbr_extension':
libavcodec/aacsbr.c:398:8: warning: 'max_qmf_subbands' may be used uninit

in this function [-Wuninitialized]

libavcodec/aacsbr.c:330:24: note: 'max_qmf_subbands' was declared here
HOSTCC libavcodec/aac_tablegen.o
In file included from libavcodec/aac.h:35:0,

from libavcodec/aac_tablegen.h:32,
from libavcodec/aac_tablegen.c:25:

libavcodec/dsputil.h:447:50: error: expected ';', ',' or ')' before 'v1'
make: * [libavcodec/aac_tablegen.o] Error 1

Change History (4)

comment:1 by yxmlines, 12 years ago

ps mingw/msys gcc-4.6.1
./configure --enable-gpl --enable-version3 --enable-avresample --enable-nonfree --arch=x86 --cpu=i686 --enable-runtime-cpudetect --enable-hardcoded-tables --enable-memalign-hack --enable-avisynth --enable-bzlib --enable-zlib --disable-doc

with the hardcoded-tables compilation error
without the hardcoded-tables compilation ok

Last edited 12 years ago by yxmlines (previous) (diff)

comment:2 by yxmlines, 12 years ago

thanks Michael Niedermayer
with the hardcoded-tables compilation ok

Last edited 12 years ago by yxmlines (previous) (diff)

comment:3 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Priority: normalimportant
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

comment:4 by llogan, 12 years ago

Summary: buil errorbuild error with --enable-hardcoded-tables
Note: See TracTickets for help on using tickets.