[rtmpdump] [PATCH] Fix rtmpdump.c compiler warning

Steven Penny svnpenn at gmail.com
Sun Nov 18 18:16:39 CET 2012


On Sun, Nov 18, 2012 at 6:21 AM, Howard Chu wrote:
> This patch will be incorrect on Windows64. Rejecting it.

It seems to compile Ok with Win64; what would be the issue if you dont mind?

$ make rtmpdump SYS=mingw CRYPTO=POLARSSL CROSS_COMPILE=x86_64-w64-mingw32- SHA
RED=
x86_64-w64-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdum
p.o rtmpdump.c
make[1]: Entering directory `/opt/rtmpdump/librtmp'
x86_64-w64-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2
  -c -o rtmp.o rtmp.c
x86_64-w64-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2
  -c -o log.o log.c
In file included from log.c:30:0:
rtmp_sys.h:40:0: warning: "EWOULDBLOCK" redefined
/usr/x86_64-w64-mingw32/sys-root/mingw/include/errno.h:166:0: note: this is the
location of the previous definition
x86_64-w64-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2
  -c -o amf.o amf.c
x86_64-w64-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2
  -c -o hashswf.o hashswf.c
x86_64-w64-mingw32-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL  -O2
  -c -o parseurl.o parseurl.c
x86_64-w64-mingw32-ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
x86_64-w64-mingw32-ar: creating librtmp.a
make[1]: Leaving directory `/opt/rtmpdump/librtmp'
x86_64-w64-mingw32-gcc -Wall  -o rtmpdump.exe rtmpdump.o -Llibrtmp -lrtmp -lpola
rssl -lz -lws2_32 -lwinmm -lgdi32


More information about the rtmpdump mailing list