fxtest.c: In function ‘main’:
fxtest.c:190:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
GtkWidget *window;
^~~~~~~~~
GstBus *bus;
GError *error = NULL;
-#ifdef HAVE_X11
- XInitThreads ();
-#endif
-
GtkWidget *window;
GtkWidget *screen;
GtkWidget *vbox, *combo;
{NULL}
};
+#ifdef HAVE_X11
+ XInitThreads ();
+#endif
+
context = g_option_context_new (NULL);
g_option_context_add_main_entries (context, options, NULL);
g_option_context_add_group (context, gst_init_get_option_group ());