Closed GoogleCodeExporter closed 9 years ago
msys on windows doesnt build, but cross build does with warnings.
These are the warnings as of v1.2.0-1570-g7f5e4fd (Feb 3, 2013)
x86_64-w64-mingw32-gcc -fno-common -m64 -fomit-frame-pointer -O3 -Wall
-Wdeclaration-after-statement -Wdisabled-optimization -Wpoin
ter-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration
-Wuninitialized -Wunused-variable -Wunused-but-set-variabl
e -Wno-unused-function -I. -I"../libvpx" -c -o vp8/encoder/ethreading.c.o
../libvpx/vp8/encoder/ethreading.c
../libvpx/vp8/encoder/ethreading.c: In function `vp8cx_create_encoder_threads':
../libvpx/vp8/encoder/ethreading.c:535:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:553:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:571:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:572:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:574:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:589:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:590:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:603:21: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:604:21: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:606:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:607:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:608:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c: In function `vp8cx_remove_encoder_threads':
../libvpx/vp8/encoder/ethreading.c:635:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:637:17: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:641:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:644:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:645:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/ethreading.c:646:9: warning: value computed is not used
[-Wunused-value]
x86_64-w64-mingw32-gcc -fno-common -m64 -fomit-frame-pointer -O3 -Wall
-Wdeclaration-after-statement -Wdisabled-optimization -Wpoin
e -Wno-unused-function -I. -I"../libvpx" -c -o vp8/encoder/onyx_if.c.o
../libvpx/vp8/encoder/onyx_if.c
../libvpx/vp8/encoder/onyx_if.c: In function `vp8_change_config':
../libvpx/vp8/encoder/onyx_if.c:1400:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/onyx_if.c: In function `encode_frame_to_data_rate':
../libvpx/vp8/encoder/onyx_if.c:3276:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/onyx_if.c:4359:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/onyx_if.c:4369:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/encoder/onyx_if.c: In function `vp8_get_preview_raw_frame':
../libvpx/vp8/encoder/onyx_if.c:5359:13: warning: value computed is not used
[-Wunused-value]
e -Wno-unused-function -I. -I"../libvpx" -c -o vp8/decoder/threading.c.o
../libvpx/vp8/decoder/threading.c
../libvpx/vp8/decoder/threading.c: In function `vp8_decoder_create_threads':
../libvpx/vp8/decoder/threading.c:685:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/decoder/threading.c:693:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/decoder/threading.c:696:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/decoder/threading.c: In function `vp8_decoder_remove_threads':
../libvpx/vp8/decoder/threading.c:849:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/decoder/threading.c:854:13: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/decoder/threading.c:857:9: warning: value computed is not used
[-Wunused-value]
../libvpx/vp8/decoder/threading.c: In function `vp8mt_decode_mb_rows':
../libvpx/vp8/decoder/threading.c:917:5: warning: value computed is not used
[-Wunused-value]
x86_64-w64-mingw32-gcc -fno-common -m64 -fomit-frame-pointer -O3 -Wall
-Wdeclaration-after-statement -Wdisabled-optimization -Wpoin
ter-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration
-Wuninitialized -Wunused-variable -Wunused-but-set-variabl
e -Wno-unused-function -I. -I"../libvpx" -c -o vp9/common/vp9_entropymv.c.o
../libvpx/vp9/common/vp9_entropymv.c
../libvpx/vp9/common/vp9_entropymv.c: In function `increment_nmv_component':
../libvpx/vp9/common/vp9_entropymv.c:108:19: warning: `c' may be used
uninitialized in this function [-Wuninitialized]
../libvpx/vp9/common/vp9_entropymv.c:97:17: note: `c' was declared here
../libvpx/vp9/common/vp9_entropymv.c: In function `vp9_get_mv_class':
../libvpx/vp9/common/vp9_entropymv.c:108:19: warning: `c' may be used
uninitialized in this function [-Wuninitialized]
e -Wno-unused-function -I. -I"../libvpx" -c -o vp9/common/vp9_invtrans.c.o
../libvpx/vp9/common/vp9_invtrans.c
In file included from ../libvpx/vp9/common/vp9_invtrans.h:16:0,
from ../libvpx/vp9/common/vp9_invtrans.c:11:
../libvpx/vp9/common/vp9_blockd.h: In function `get_tx_type_8x8':
../libvpx/vp9/common/vp9_blockd.h:423:21: warning: `b_mode' may be used
uninitialized in this function [-Wuninitialized]
../libvpx/vp9/common/vp9_blockd.h: In function `get_tx_type_4x4':
../libvpx/vp9/common/vp9_blockd.h:423:21: warning: `b_mode' may be used
uninitialized in this function [-Wuninitialized]
x86_64-w64-mingw32-gcc -fno-common -m64 -fomit-frame-pointer -O3 -Wall
-Wdeclaration-after-statement -Wdisabled-optimization -Wpoin
ter-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration
-Wuninitialized -Wunused-variable -Wunused-but-set-variabl
e -Wno-unused-function -I. -I"../libvpx" -c -o vp9/encoder/vp9_encodeintra.c.o
../libvpx/vp9/encoder/vp9_encodeintra.c
In file included from ../libvpx/vp9/common/vp9_entropymv.h:17:0,
from ../libvpx/vp9/encoder/vp9_block.h:15,
from ../libvpx/vp9/encoder/vp9_quantize.h:14,
from ../libvpx/vp9/encoder/vp9_encodeintra.c:13:
../libvpx/vp9/common/vp9_blockd.h: In function `get_tx_type_4x4':
../libvpx/vp9/common/vp9_blockd.h:423:21: warning: `b_mode' may be used
uninitialized in this function [-Wuninitialized]
e -Wno-unused-function -I. -I"../libvpx" -c -o vp9/decoder/vp9_decodframe.c.o
../libvpx/vp9/decoder/vp9_decodframe.c
In file included from ../libvpx/vp9/common/vp9_loopfilter.h:16:0,
from ../libvpx/vp9/common/vp9_onyxc_int.h:17,
from ../libvpx/vp9/decoder/vp9_onyxd_int.h:16,
from ../libvpx/vp9/decoder/vp9_decodframe.c:12:
../libvpx/vp9/common/vp9_blockd.h: In function `get_tx_type_8x8':
../libvpx/vp9/common/vp9_blockd.h:423:21: warning: `b_mode' may be used
uninitialized in this function [-Wuninitialized]
../libvpx/vp9/common/vp9_blockd.h: In function `get_tx_type_4x4':
e -Wno-unused-function -I. -I"../libvpx" -c -o vp9/decoder/vp9_detokenize.c.o
../libvpx/vp9/decoder/vp9_detokenize.c
In file included from ../libvpx/vp9/decoder/vp9_detokenize.c:12:0:
../libvpx/vp9/common/vp9_blockd.h: In function `get_tx_type':
../libvpx/vp9/common/vp9_blockd.h:423:21: warning: `b_mode' may be used
uninitialized in this function [-Wuninitialized]
../libvpx/vp9/common/vp9_blockd.h:423:21: warning: `b_mode' may be used
uninitialized in this function [-Wuninitialized]
x86_64-w64-mingw32-gcc -fno-common -m64 -fomit-frame-pointer -O3 -Wall
-Wdeclaration-after-statement -Wdisabled-optimization -Wpoin
Original comment by fbarch...@chromium.org
on 4 Feb 2013 at 5:50
VP9 bitstream is not yet finalized
Original comment by albe...@google.com
on 14 Mar 2013 at 10:27
On Chrome I only see 2 warnings
d:\src\chrome\src>call python build\gyp_chromium --depth=. -Dbuildtype=Dev -G
msvs_version=2012 -fninja chrome\chrome.gyp
Enabled Psyco JIT.
Updating projects from gyp files...
ninja: Entering directory `out/Debug'
[2647/2995] CC obj\third_party\libvpx\source\libvpx\vp9\libvpx.vp9_dx_iface.obj
d:\src\chrome\src\third_party\libvpx\source\libvpx\vp9\vp9_dx_iface.c(420) :
warning C4018: '<' : signed/unsigned mismatch
d:\src\chrome\src\third_party\libvpx\source\libvpx\vp9\vp9_dx_iface.c(423) :
warning C4018: '<' : signed/unsigned mismatch
Original comment by fbarch...@google.com
on 9 May 2013 at 8:24
Same warning on webrtc build
set GYP_DEFINES=target_arch=ia32
python build\gyp_chromium --depth=. -G msvs_version=2012 -fninja webrtc.gyp
ninja -C out\Debug
ninja: Entering directory `out\Debug'
[729/1673] CXX
obj\webrtc\modules\audio_device\win\audio_device.audio_device_core_win.obj
>> INFO: WEBRTC_WINDOWS_CORE_AUDIO_BUILD is defined
[1503/1673] CC obj\third_party\libvpx\source\libvpx\vp9\libvpx.vp9_dx_iface.obj
d:\src\webrtc\trunk\third_party\libvpx\source\libvpx\vp9\vp9_dx_iface.c(420) :
warning C4018: '<' : signed/unsigned mismatch
d:\src\webrtc\trunk\third_party\libvpx\source\libvpx\vp9\vp9_dx_iface.c(423) :
warning C4018: '<' : signed/unsigned mismatch
[1672/1673] LINK voe_cmd_test.exe
Original comment by fbarch...@google.com
on 21 May 2013 at 10:38
Index: D:/src/webrtc/trunk/third_party/libvpx/source/libvpx/vp9/vp9_dx_iface.c
===================================================================
--- D:/src/webrtc/trunk/third_party/libvpx/source/libvpx/vp9/vp9_dx_iface.c
(revision 196669)
+++ D:/src/webrtc/trunk/third_party/libvpx/source/libvpx/vp9/vp9_dx_iface.c
(working copy)
@@ -417,10 +417,10 @@
int i, j;
const uint8_t *x = data + data_sz - index_sz + 1;
- for (i = 0; i < frames; i++) {
+ for (i = 0; i < (int)frames; i++) {
uint32_t this_sz = 0;
- for (j = 0; j < mag; j++)
+ for (j = 0; j < (int)mag; j++)
this_sz |= (*x++) << (j * 8);
sizes[i] = this_sz;
}
Original comment by fbarch...@google.com
on 2 Jun 2013 at 10:00
Fixed in https://gerrit.chromium.org/gerrit/57499
Original comment by jkoles...@google.com
on 4 Jun 2013 at 8:11
Original issue reported on code.google.com by
fbarch...@google.com
on 18 Jan 2013 at 3:12