[Live-devel] Compiling the library on windows using dev-cpp

Leon Schmets leon at fsvproducts.nl
Thu Apr 7 12:50:00 PDT 2005


Hi all,

 

I am new to all this so please be patient with me.

I want to wrap the library for use with Python, using Swig to do the job.

 

First step, I decided is to just build the library, see what comes up. And
here I am.

I found a couple of warnings about non-explicit casts from integers to
pointers. Any comments on them? Can I safely ignore these?

 

Any help and advice is appreciated.

Thanks Leon

 

Here is a listing of the errors only

 

g++.exe -c ../Swig/live_rtpstack/liveMedia/H263plusVideoRTPSink.cpp -o
../Swig/live_rtpstack/liveMedia/H263plusVideoRTPSink.o
-I"c:/dev-cpp/include/c++/3.3.1"  -I"c:/dev-cpp/include/c++/3.3.1/mingw32"
-I"c:/dev-cpp/include/c++/3.3.1/backward"
-I"c:/dev-cpp/lib/gcc-lib/mingw32/3.3.1/include"  -I"c:/dev-cpp/include"
-I"C:/Swig/live_rtpstack/BasicUsageEnvironment/include"
-I"C:/Swig/live_rtpstack/groupsock/include"
-I"C:/Swig/live_rtpstack/liveMedia/include"
-I"C:/Swig/live_rtpstack/UsageEnvironment/include"  

 

../Swig/live_rtpstack/liveMedia/H263plusVideoRTPSink.cpp: In member function
`virtual void H263plusVideoRTPSink::doSpecialFrameHandling(unsigned int,
unsigned char*, unsigned int, timeval, unsigned int)':

../Swig/live_rtpstack/liveMedia/H263plusVideoRTPSink.cpp:66: warning: cast
to pointer from integer of different size

../Swig/live_rtpstack/liveMedia/H263plusVideoRTPSink.cpp:66: warning: cast
to pointer from integer of different size 

 

 

 

g++.exe -c ../Swig/live_rtpstack/liveMedia/MPEG1or2Demux.cpp -o
../Swig/live_rtpstack/liveMedia/MPEG1or2Demux.o
-I"c:/dev-cpp/include/c++/3.3.1"  -I"c:/dev-cpp/include/c++/3.3.1/mingw32"
-I"c:/dev-cpp/include/c++/3.3.1/backward"
-I"c:/dev-cpp/lib/gcc-lib/mingw32/3.3.1/include"  -I"c:/dev-cpp/include"
-I"C:/Swig/live_rtpstack/BasicUsageEnvironment/include"
-I"C:/Swig/live_rtpstack/groupsock/include"
-I"C:/Swig/live_rtpstack/liveMedia/include"
-I"C:/Swig/live_rtpstack/UsageEnvironment/include"  

 

../Swig/live_rtpstack/liveMedia/MPEG1or2Demux.cpp: In member function `void
MPEG1or2Demux::registerReadInterest(u_int8_t, unsigned char*, unsigned int,
void (*)(void*, unsigned int, unsigned int, timeval, unsigned int), void*,
void (*)(void*), void*)':

../Swig/live_rtpstack/liveMedia/MPEG1or2Demux.cpp:164: warning: cast to
pointer from integer of different size

 

../Swig/live_rtpstack/liveMedia/MPEG1or2Demux.cpp: In member function `void
MPEGProgramStreamParser::parsePackHeader()':

../Swig/live_rtpstack/liveMedia/MPEG1or2Demux.cpp:460: warning: cast to
pointer from integer of different size

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20050407/e5daa2a2/attachment.html


More information about the live-devel mailing list