[MPlayer-dev-eng] [patch] windows compilation error

Stephen Sheldon sfsheldo at gmail.com
Wed Mar 7 21:18:54 CET 2012


The compilation error I reported on 3/4/2012 was compiling with the 
64-bit compiler x86_64-w64-mingw32.  Now that I am using the 32-bit 
compiler i686-pc-mingw32, I am seeing an additional error.

etype2 -I/mingw32/include -I/mingw32/include   -c -o stream/cache2.o 
stream/cache2.c
In file included from stream/cache2.c:66:0:
stream/stream.h: In function 'stream_seek':
stream/stream.h:322:3: warning: format '%I64X' expects type 'long long 
unsigned int', but argument 4 has type 'off_t'
stream/stream.h:326:12: warning: format '%I64x' expects type 'long long 
unsigned int', but argument 4 has type 'off_t'
stream/cache2.c: In function 'cache_wakeup':
stream/cache2.c:102:36: warning: unused parameter 's'
stream/cache2.c: In function 'cache_execute_control':
stream/cache2.c:331:23: warning: comparison between signed and unsigned 
integer expressions
stream/cache2.c: In function 'shared_free':
stream/cache2.c:345:44: warning: unused parameter 'size'
stream/cache2.c: At top level:
stream/cache2.c:583:5: error: conflicting types for 'cache_stream_seek_long'
stream/stream.h:196:5: note: previous declaration of 
'cache_stream_seek_long' was here
Makefile:775: recipe for target `stream/cache2.o' failed

The attached patch fixes it for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream.patch
Type: text/x-diff
Size: 544 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120307/10009f40/attachment.bin>


More information about the MPlayer-dev-eng mailing list