Comment 8 for bug 1527741

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can reproduce the build failure when building a standalone copy of libvpx (https://chromium.googlesource.com/webm/libvpx/) on a porter box:

$ 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