GNOME Bugzilla – Bug 304180
[directfb] compilation fails with gcc-4
Last modified: 2005-05-15 16:51:02 UTC
after checking out a fresh cvs copy, i noticed that directfb could not compile. output: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Werror -D_REENTRANT -I/usr/include/directfb -g -O2 -MT libgstdirectfbvideosink_la-directfbvideosink.lo -MD -MP -MF .deps/libgstdirectfbvideosink_la-directfbvideosink.Tpo -c directfbvideosink.c -fPIC -DPIC -o .libs/libgstdirectfbvideosink_la-directfbvideosink.o cc1: warnings being treated as errors directfbvideosink.c: In function 'gst_directfbvideosink_sink_link': directfbvideosink.c:317: warning: pointer targets in passing argument 3 of 'gst_structure_get_fourcc' differ in signedness make[3]: *** [libgstdirectfbvideosink_la-directfbvideosink.lo] Error 1 make[3]: Leaving directory `/mnt/extra/Sources/gst-plugins/ext/directfb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/extra/Sources/gst-plugins/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/extra/Sources/gst-plugins' make: *** [all] Error 2 have fun fixing :)
Should be fixed in CVS, thanks. Cheers -Tim