Make DCPoMatic compatible with ICU >= 75 main
authorBenjamin Radel <benjamin@radel.tk>
Fri, 28 Jun 2024 19:56:36 +0000 (21:56 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 30 Jun 2024 14:17:18 +0000 (16:17 +0200)
commit0ca9937987ecf2bf3f579147ffc952838565415b
tree17ac30d3adef2e8a2dc5d2addbbbc0d8c4bc5644
parent3dbe0b9ff88a16b938ad6adf2c26179e278fa712
Make DCPoMatic compatible with ICU >= 75

ICU >= 75 uses c++17 features and therefore requires compilation with
-std=c++17. However, this causes some namespace issues in
src/wx/file_picker_ctrl.cc and
src/wx/film_name_location_dialog.cc
between boost::optional, boost::filesystem and the corresponding
names from the std lib.

The patch fixes this namespace issues and adds a version check in
wscript to enable compilation with c++17, if icu >= 75 is detected.
src/wx/about_dialog.cc
src/wx/file_picker_ctrl.cc
src/wx/film_name_location_dialog.cc
wscript