diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-27 21:47:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-27 21:47:26 +0200 |
| commit | 2da4caba7871455c097c0ed940dd6f2332dbda5d (patch) | |
| tree | f87883d0fcfe4c19ae5f7490306d49cc4f5d02b3 /src/wx/dkdm_output_panel.cc | |
| parent | 94aadbd62c259a73d7511522dd167d519c68c5f9 (diff) | |
| parent | 5d440e1133fc68dfffeaf53cf934b996dae811c7 (diff) | |
Merge branch 'warnings' into v2.15.x.
Clean up our handling of compiler warnings in a variety of ways,
and use #pragma rather than -Wno to only disable warnings where
necessary.
Diffstat (limited to 'src/wx/dkdm_output_panel.cc')
| -rw-r--r-- | src/wx/dkdm_output_panel.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/dkdm_output_panel.cc b/src/wx/dkdm_output_panel.cc index 3f8730ae3..d8645ff97 100644 --- a/src/wx/dkdm_output_panel.cc +++ b/src/wx/dkdm_output_panel.cc @@ -20,6 +20,7 @@ #include "lib/config.h" #include "lib/send_kdm_email_job.h" +#include "lib/warnings.h" #include "dkdm_output_panel.h" #include "kdm_timing_panel.h" #include "confirm_kdm_email_dialog.h" @@ -32,7 +33,9 @@ #ifdef DCPOMATIC_USE_OWN_PICKER #include "dir_picker_ctrl.h" #else +DCPOMATIC_DISABLE_WARNINGS #include <wx/filepicker.h> +DCPOMATIC_ENABLE_WARNINGS #endif #include <wx/stdpaths.h> |
