mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
Add COGL_DISABLE_DEPRECATION_WARNINGS to the build flags
Cogl 1.16 has deprecated a lot of API which it will be difficult for Clutter to catch up with. For the time being the warnings are just being disabled to keep the build output clean. https://bugzilla.gnome.org/show_bug.cgi?id=703877
This commit is contained in:
parent
2db5ae56cf
commit
fa8809d716
@ -19,6 +19,7 @@ AM_CPPFLAGS = \
|
||||
-DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
|
||||
-DCLUTTER_COMPILATION=1 \
|
||||
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
||||
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
|
||||
-DG_LOG_DOMAIN=\"Clutter\" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/clutter \
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define COGL_DISABLE_DEPRECATION_WARNINGS
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
#include "deprecated/clutter-rectangle.h"
|
||||
#include "deprecated/clutter-actor.h"
|
||||
|
@ -52,7 +52,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define COGL_DISABLE_DEPRECATION_WARNINGS
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
#include <glib.h>
|
||||
|
@ -48,7 +48,6 @@
|
||||
#endif
|
||||
|
||||
/* sadly, we are still using ClutterShader internally */
|
||||
#define COGL_DISABLE_DEPRECATION_WARNINGS
|
||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
/* This file depends on the glib enum types which aren't exposed
|
||||
|
Loading…
Reference in New Issue
Block a user