mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
This commit is contained in:
parent
c4a9ed774e
commit
53370fc899
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue