After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 473562 - [rtpmanager] cvs build problem due to compiler warning
[rtpmanager] cvs build problem due to compiler warning
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-04 13:18 UTC by Benjamin Kampmann
Modified: 2007-09-04 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The warnings.log I got (1.57 KB, text/plain)
2007-09-04 13:18 UTC, Benjamin Kampmann
Details

Description Benjamin Kampmann 2007-09-04 13:18:02 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
Comment 1 Benjamin Kampmann 2007-09-04 13:18:51 UTC
Created attachment 94923 [details]
The warnings.log I got
Comment 2 Tim-Philipp Müller 2007-09-04 15:26:26 UTC
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.