[MPlayer-cygwin] [BUGREPORT] svn 21886: gettimeofday undefinedonMingW
John Brown
johnbrown105 at hotmail.com
Mon Jan 15 02:25:29 CET 2007
Diego Biurrun wrote:
>On Sat, Jan 13, 2007 at 04:04:33PM -0500, John Brown wrote:
>>OK, but after make distclean and configure, I now get:
>>
>>g++ -I../stream -I../loader -I../libavutil -I../libavcodec
>>-I../libavformat -I.
>>-I.. -Wdeclaration-after-statement -W -Wall -Wno-unused-parameter -O2
>>-march=pre
>>scott -mtune=prescott -g3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>>-D_LARGEFI
>>LE64_SOURCE -I/mingw/include/ -I/mingw/include -I/mingw/include/dvdnav
>>-I/mingw/
>>include/freetype2 -I/mingw/include -I/mingw/lib/live/liveMedia/include
>> -I/mingw/lib/live/UsageEnvironment/include
>>-I/mingw/lib/live/Ba
>>sicUsageEnvironment/include
>>-I/mingw/lib/live/groupsock/include -D_
>>_STDC_LIMIT_MACROS -c -o demux_rtp_codec.o demux_rtp_codec.cpp
>>cc1plus.exe: warning: command line option "-Wdeclaration-after-statement"
>>is valid for C/ObjC but not for C++
>>demux_rtp_codec.cpp: In function 'void
>>rtpCodecInitialize_video(demuxer_t*, Medi
>>aSubsession*, unsigned int&)':
>>demux_rtp_codec.cpp:97: warning: comparison between signed and unsigned
>>integerexpressions
>>demux_rtp_codec.cpp:100: error: 'INT_MAX' was not declared in this scope
>>demuxer.h: At global scope:
>>demuxer.h:275: warning: 'void* realloc_struct(void*, size_t, size_t)'
>>defined but not used
>>make[1]: *** [demux_rtp_codec.o] Error 1
>>make[1]: Leaving directory `/c/progra~1/multimedia/mplayer/svn/libmpdemux'
>>make: *** [libmpdemux/libmpdemux.a] Error 2
>>
>>I fixed this by #including <limits.h> in libmpdemux/demux_rtp_internal.h.
>
>Patch please.
>
>Diego
>______________
OK. I will try tomorrow, but:
1) I do not actually know how to make a patch
2) Perhaps the developers have other ideas about where to #include
<limits.h>
_________________________________________________________________
Get live scores and news about your team: Add the Live.com Football Page
www.live.com/?addtemplate=football&icid=T001MSN30A0701
More information about the MPlayer-cygwin
mailing list