summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-27 01:35:57 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-27 10:05:45 +0200
commitc622a06189181a3a6ad356094c9a3cf4e1f5a722 (patch)
treeb9897abab9e7ea9d06134b15c7befc8aebbfa249 /src/tools/dcpomatic.cc
parent7555175e605aab5567020ce48b00bfa6f4d2b726 (diff)
Hide warnings triggered by Ubuntu 20.04's gcc.
Diffstat (limited to 'src/tools/dcpomatic.cc')
-rw-r--r--src/tools/dcpomatic.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 75b4025aa..3680e2802 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -84,14 +84,17 @@
#include "lib/text_content.h"
#include "lib/dcpomatic_log.h"
#include "lib/subtitle_encoder.h"
+#include "lib/warnings.h"
#include <dcp/exceptions.h>
#include <dcp/raw_convert.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/generic/aboutdlgg.h>
#include <wx/stdpaths.h>
#include <wx/cmdline.h>
#include <wx/preferences.h>
#include <wx/splash.h>
#include <wx/wxhtml.h>
+DCPOMATIC_ENABLE_WARNINGS
#ifdef __WXGTK__
#include <X11/Xlib.h>
#endif