summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Matthews <tristan@sat.qc.ca>2010-03-23 02:38:43 -0400
committerBenjamin Otte <otte@redhat.com>2010-03-23 08:23:09 +0100
commit53370fc899da91b4a55c868a19d788ae69bc20e1 (patch)
treed5417eb6f5dc50a84ab207c08d53b4daa77093e7
parentc4a9ed774eb7147f3a42dfaa6edab8fce874b6a1 (diff)
osx: fix compiler warnings
Added void parameter to avoid old-style definition warning. Added -Wno-aggregate-return flag to avoid erroneous aggregate return warning. https://bugzilla.gnome.org/show_bug.cgi?id=613663
-rw-r--r--sys/osxaudio/gstosxaudioelement.c2
-rw-r--r--sys/osxvideo/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/osxaudio/gstosxaudioelement.c b/sys/osxaudio/gstosxaudioelement.c
index ceff749ef..a41f4b877 100644
--- a/sys/osxaudio/gstosxaudioelement.c
+++ b/sys/osxaudio/gstosxaudioelement.c
@@ -53,7 +53,7 @@ static void
gst_osx_audio_element_class_init (GstOsxAudioElementInterface * klass);
GType
-gst_osx_audio_element_get_type ()
+gst_osx_audio_element_get_type (void)
{
static GType gst_osxaudioelement_type = 0;
diff --git a/sys/osxvideo/Makefile.am b/sys/osxvideo/Makefile.am
index a9aeeb0ec..8893c2e80 100644
--- a/sys/osxvideo/Makefile.am
+++ b/sys/osxvideo/Makefile.am
@@ -14,6 +14,6 @@ libgstosxvideosink_la_LIBADD = \
libgstosxvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,QuickTime -Wl,-framework -Wl,OpenGL
libgstosxvideosink_la_LIBTOOLFLAGS = --tag=disable-static
-AM_OBJCFLAGS=$(CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS)
+AM_OBJCFLAGS=$(CFLAGS) $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) -Wno-aggregate-return
noinst_HEADERS = osxvideosink.h cocoawindow.h