Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1459 closed defect (fixed)

build error with --enable-hardcoded-tables

Reported by: yxmline 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 Changed 4 years ago by yxmline

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 4 years ago by yxmline (previous) (diff)

comment:2 Changed 4 years ago by yxmline

thanks Michael Niedermayer

Version 0, edited 4 years ago by yxmline (next)

comment:3 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Priority changed from normal to important
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master

comment:4 Changed 4 years ago by llogan

  • Summary changed from buil error to build error with --enable-hardcoded-tables
Note: See TracTickets for help on using tickets.