[MPlayer-cygwin] [BUGREPORT] svn 21886: gettimeofday undefinedon MingW
John Brown
johnbrown105 at hotmail.com
Sat Jan 13 22:04:33 CET 2007
On Sat, 13 Jan 2007 at 05:12:32 +0100, Diego Biurrun wrote:
>On Fri, Jan 12, 2007 at 03:58:26PM -0500, John Brown wrote:
>>svn does not compile because a couple of files call gettimeofday(), which
>>I do not have on MingW.
>
>Should be fixed.
>
>Diego
>_______________________________________________
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.
_________________________________________________________________
Communicate instantly! Use your Hotmail address to sign into Windows Live
Messenger now. http://get.live.com/messenger/overview
More information about the MPlayer-cygwin
mailing list