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:
Neil Roberts 2013-07-09 16:08:53 +01:00 committed by Emmanuele Bassi
parent 2db5ae56cf
commit fa8809d716
4 changed files with 1 additions and 3 deletions

View File

@ -19,6 +19,7 @@ AM_CPPFLAGS = \
-DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \ -DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
-DCLUTTER_COMPILATION=1 \ -DCLUTTER_COMPILATION=1 \
-DCOGL_ENABLE_EXPERIMENTAL_API \ -DCOGL_ENABLE_EXPERIMENTAL_API \
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
-DG_LOG_DOMAIN=\"Clutter\" \ -DG_LOG_DOMAIN=\"Clutter\" \
-I$(top_srcdir) \ -I$(top_srcdir) \
-I$(top_srcdir)/clutter \ -I$(top_srcdir)/clutter \

View File

@ -36,7 +36,6 @@
#include "config.h" #include "config.h"
#endif #endif
#define COGL_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "deprecated/clutter-rectangle.h" #include "deprecated/clutter-rectangle.h"
#include "deprecated/clutter-actor.h" #include "deprecated/clutter-actor.h"

View File

@ -52,7 +52,6 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#define COGL_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include <glib.h> #include <glib.h>

View File

@ -48,7 +48,6 @@
#endif #endif
/* sadly, we are still using ClutterShader internally */ /* sadly, we are still using ClutterShader internally */
#define COGL_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #define CLUTTER_DISABLE_DEPRECATION_WARNINGS
/* This file depends on the glib enum types which aren't exposed /* This file depends on the glib enum types which aren't exposed