summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
-rw-r--r--gnl/gnl.c2
-rw-r--r--gnl/gnlghostpad.c2
-rw-r--r--gnl/gnlghostpad.h2
4 files changed, 11 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index a92a10a..4813e29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ dnl define PACKAGE_VERSION_* variables
AS_VERSION
dnl check if this is a release version
-AS_NANO(GST_CVS="no", GST_CVS="yes")
+AS_NANO(GST_GIT="no", GST_GIT="yes")
dnl can autoconf find the source ?
AC_CONFIG_SRCDIR([gnl/gnl.c])
@@ -146,10 +146,14 @@ dnl set location of plugin directory
AG_GST_SET_PLUGINDIR
dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_CVS)
+AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes
+ -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral
+ -Wformat-security -Wold-style-definition -Wcast-align -Winit-self
+ -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar
+ -Wnested-externs])
dnl define correct level for debugging messages
-AG_GST_SET_LEVEL_DEFAULT($GST_CVS)
+AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
dnl used in examples
AG_GST_DEFAULT_ELEMENTS
@@ -170,7 +174,7 @@ if test "x$USE_DEBUG" = xyes; then
fi
AC_SUBST(PROFILE_CFLAGS)
-if test "x$GST_CVS" = "xyes"; then
+if test "x$GST_GIT" = "xyes"; then
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
else
DEPRECATED_CFLAGS=""
diff --git a/gnl/gnl.c b/gnl/gnl.c
index b9e38c5..d3cb476 100644
--- a/gnl/gnl.c
+++ b/gnl/gnl.c
@@ -26,7 +26,7 @@
struct _elements_entry
{
- gchar *name;
+ const gchar *name;
GType (*type) (void);
};
diff --git a/gnl/gnlghostpad.c b/gnl/gnlghostpad.c
index 00fa10f..8f150dd 100644
--- a/gnl/gnlghostpad.c
+++ b/gnl/gnlghostpad.c
@@ -767,7 +767,7 @@ gnl_object_ghost_pad_set_target (GnlObject * object, GstPad * ghost,
}
void
-gnl_init_ghostpad_category ()
+gnl_init_ghostpad_category (void)
{
GST_DEBUG_CATEGORY_INIT (gnlghostpad, "gnlghostpad",
GST_DEBUG_FG_BLUE | GST_DEBUG_BOLD, "GNonLin GhostPad");
diff --git a/gnl/gnlghostpad.h b/gnl/gnlghostpad.h
index 9a45637..d30d255 100644
--- a/gnl/gnlghostpad.h
+++ b/gnl/gnlghostpad.h
@@ -44,7 +44,7 @@ gboolean gnl_object_ghost_pad_set_target (GnlObject * object,
void gnl_object_remove_ghost_pad (GnlObject * object, GstPad * ghost);
-void gnl_init_ghostpad_category ();
+void gnl_init_ghostpad_category (void);
G_END_DECLS