summaryrefslogtreecommitdiff
path: root/src/lib/render_text.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-26 21:29:43 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-26 21:30:59 +0200
commit6eba051dcbb8c56e3e2efea946ce0380d17a7b33 (patch)
tree3749c9cb5cbd8be4b14936978e13b889ffcc73a3 /src/lib/render_text.cc
parent2e0cf721530a17b0190c938b04176e0315950053 (diff)
Various OSX warnings fixes.
Diffstat (limited to 'src/lib/render_text.cc')
-rw-r--r--src/lib/render_text.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/render_text.cc b/src/lib/render_text.cc
index de33f9380..b0a958c16 100644
--- a/src/lib/render_text.cc
+++ b/src/lib/render_text.cc
@@ -24,10 +24,13 @@
#include "cross.h"
#include "font.h"
#include "dcpomatic_assert.h"
+#include "warnings.h"
#include <dcp/raw_convert.h>
#include <fontconfig/fontconfig.h>
#include <cairomm/cairomm.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <pangomm.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <pango/pangocairo.h>
#ifndef DCPOMATIC_HAVE_SHOW_IN_CAIRO_CONTEXT
#include <pango/pangocairo.h>