GNOME Bugzilla – Bug 473562
[rtpmanager] cvs build problem due to compiler warning
Last modified: 2007-09-04 15:26:26 UTC
After doing a complete new checkout of the cvs drivers today, the module gst-plugins-bad is not compiling. I made a ./autogen.sh and got no errors, to I went on with 'make', which gave me this warning after a few time and then broke: gstrtpsession.c: In function 'gst_rtp_session_clock_rate': gstrtpsession.c:897: warning: cast to pointer from integer of different size I was requested to do this: make ERROR_CFLAGS='' 2> warnings.log and handle this file also over. My gcc is "gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)" on a Ubuntu Feisty with the latest updates from today: Linux ben-desktop 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
Created attachment 94923 [details] The warnings.log I got
What an odd warning. I would have expected the (glong) cast within the GINT_TO_POINTER macro to take care of the input value. Oh well, should be fixed now: 2007-09-04 Tim-Philipp Müller <tim at centricular dot net> * gst/rtpmanager/gstrtpsession.c: Make compiler happy: fix compilation with -Wall -Werror (#473562). Please re-open if it still issues a warning.