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 516371 - does not build without xml usage
does not build without xml usage
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal blocker
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-14 07:32 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2008-02-14 14:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add missing include (545 bytes, patch)
2008-02-14 07:35 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2008-02-14 07:32:08 UTC
if one disables xml-registry and load-save, we don't include libxml/parser.h which pulls stdlib.h. This reveals that most source forget to include it:

cc1: warnings being treated as errors
spectrum-example.c: In Funktion »main«:
spectrum-example.c:103: Warnung: Implizite Deklaration der Funktion »exit«
spectrum-example.c:103: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »exit«
make[4]: *** [spectrum_example-spectrum-example.o] Fehler 1
make[4]: Verlasse Verzeichnis '/home/ensonic/projects/gstreamer.portfwd/gst-plugins-good/tests/examples/spectrum'
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-02-14 07:35:12 UTC
Created attachment 105205 [details] [review]
add missing include
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-02-14 14:50:22 UTC
2008-02-14  Stefan Kost  <ensonic@users.sf.net>

	* tests/examples/spectrum/spectrum-example.c:
	Add missing include to fix compilation when libxml usage is disabled.
	Fixes: #516371