$ make
[CC] vp8/common/treecoder.c.o
vp8/common/treecoder.c: In function 'tree2tok':
vp8/common/treecoder.c:32:9: error: invalid use of array with unspecified bounds
const vp8_tree_index j = t[i++];
^
vp8/common/treecoder.c:32:34: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
const vp8_tree_index j = t[i++]; ^
vp8/common/treecoder.c: In function 'branch_counts':
vp8/common/treecoder.c:96:13: error: invalid use of array with unspecified bounds
i = tree[ i + b];
^
vp8/common/treecoder.c:96:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
i = tree[ i + b];
^
Makefile:152: recipe for target 'vp8/common/treecoder.c.o' failed
I can reproduce the build failure when building a standalone copy of libvpx (https:/ /chromium. googlesource. com/webm/ libvpx/) on a porter box:
$ make treecoder. c.o treecoder. c: In function 'tree2tok': treecoder. c:32:9: error: invalid use of array with unspecified bounds treecoder. c:32:34: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
^ treecoder. c: In function 'branch_counts': treecoder. c:96:13: error: invalid use of array with unspecified bounds treecoder. c:96:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion] treecoder. c.o' failed
[CC] vp8/common/
vp8/common/
vp8/common/
const vp8_tree_index j = t[i++];
^
vp8/common/
const vp8_tree_index j = t[i++];
vp8/common/
vp8/common/
i = tree[ i + b];
^
vp8/common/
i = tree[ i + b];
^
Makefile:152: recipe for target 'vp8/common/