+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/wesnoth-1.16.10nb4/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/wesnoth-1.16.10nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for wesnoth-1.16.10nb4 [ 0%] mo-update [wesnoth-anl-af]: Creating mo file. [ 0%] mo-update [wesnoth-did-af]: Creating mo file. [ 0%] mo-update [wesnoth-dm-af]: Creating mo file. [ 0%] mo-update [wesnoth-dw-af]: Creating mo file. [ 0%] mo-update [wesnoth-editor-af]: Creating mo file. [ 0%] mo-update [wesnoth-ei-af]: Creating mo file. [ 0%] mo-update [wesnoth-help-af]: Creating mo file. [ 0%] mo-update [wesnoth-httt-af]: Creating mo file. [ 0%] mo-update [wesnoth-l-af]: Creating mo file. [ 0%] mo-update [wesnoth-lib-af]: Creating mo file. [ 0%] mo-update [wesnoth-low-af]: Creating mo file. [ 0%] mo-update [wesnoth-manpages-af]: Creating mo file. [ 0%] mo-update [wesnoth-manual-af]: Creating mo file. [ 0%] mo-update [wesnoth-multiplayer-af]: Creating mo file. [ 0%] mo-update [wesnoth-nr-af]: Creating mo file. [ 0%] mo-update [wesnoth-sof-af]: Creating mo file. [ 0%] mo-update [wesnoth-sota-af]: Creating mo file. [ 0%] mo-update [wesnoth-sotbe-af]: Creating mo file. [ 0%] mo-update [wesnoth-tb-af]: Creating mo file. [ 0%] mo-update [wesnoth-thot-af]: Creating mo file. [ 1%] mo-update [wesnoth-trow-af]: Creating mo file. [ 1%] mo-update [wesnoth-tsg-af]: Creating mo file. [ 1%] mo-update [wesnoth-tutorial-af]: Creating mo file. [ 1%] mo-update [wesnoth-units-af]: Creating mo file. [ 1%] mo-update [wesnoth-utbs-af]: Creating mo file. [ 1%] mo-update [wesnoth-wc-af]: Creating mo file. [ 1%] mo-update [wesnoth-af]: Creating mo file. [ 1%] mo-update [wesnoth-anl-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-did-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-dm-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-dw-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-editor-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-ei-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-help-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-httt-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-l-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-lib-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-low-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-manpages-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-manual-ang@latin]: Creating mo file. [ 1%] mo-update [wesnoth-multiplayer-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-nr-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-sof-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-sota-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-sotbe-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-tb-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-thot-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-trow-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-tsg-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-tutorial-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-units-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-utbs-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-wc-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-ang@latin]: Creating mo file. [ 2%] mo-update [wesnoth-anl-ar]: Creating mo file. [ 2%] mo-update [wesnoth-did-ar]: Creating mo file. [ 2%] mo-update [wesnoth-dm-ar]: Creating mo file. [ 2%] mo-update [wesnoth-dw-ar]: Creating mo file. [ 2%] mo-update [wesnoth-editor-ar]: Creating mo file. [ 2%] mo-update [wesnoth-ei-ar]: Creating mo file. [ 2%] mo-update [wesnoth-help-ar]: Creating mo file. [ 2%] mo-update [wesnoth-httt-ar]: Creating mo file. [ 2%] mo-update [wesnoth-l-ar]: Creating mo file. [ 3%] mo-update [wesnoth-lib-ar]: Creating mo file. [ 3%] mo-update [wesnoth-low-ar]: Creating mo file. [ 3%] mo-update [wesnoth-manpages-ar]: Creating mo file. [ 3%] mo-update [wesnoth-manual-ar]: Creating mo file. [ 3%] mo-update [wesnoth-multiplayer-ar]: Creating mo file. [ 3%] mo-update [wesnoth-nr-ar]: Creating mo file. [ 3%] mo-update [wesnoth-sof-ar]: Creating mo file. [ 3%] mo-update [wesnoth-sota-ar]: Creating mo file. [ 3%] mo-update [wesnoth-sotbe-ar]: Creating mo file. [ 3%] mo-update [wesnoth-tb-ar]: Creating mo file. [ 3%] mo-update [wesnoth-thot-ar]: Creating mo file. [ 3%] mo-update [wesnoth-trow-ar]: Creating mo file. [ 3%] mo-update [wesnoth-tsg-ar]: Creating mo file. [ 3%] mo-update [wesnoth-tutorial-ar]: Creating mo file. [ 3%] mo-update [wesnoth-units-ar]: Creating mo file. [ 3%] mo-update [wesnoth-utbs-ar]: Creating mo file. [ 3%] mo-update [wesnoth-wc-ar]: Creating mo file. [ 3%] mo-update [wesnoth-ar]: Creating mo file. [ 3%] mo-update [wesnoth-anl-bg]: Creating mo file. [ 3%] mo-update [wesnoth-did-bg]: Creating mo file. [ 3%] mo-update [wesnoth-dm-bg]: Creating mo file. [ 4%] mo-update [wesnoth-dw-bg]: Creating mo file. [ 4%] mo-update [wesnoth-editor-bg]: Creating mo file. [ 4%] mo-update [wesnoth-ei-bg]: Creating mo file. [ 4%] mo-update [wesnoth-help-bg]: Creating mo file. [ 4%] mo-update [wesnoth-httt-bg]: Creating mo file. [ 4%] mo-update [wesnoth-l-bg]: Creating mo file. [ 4%] mo-update [wesnoth-lib-bg]: Creating mo file. [ 4%] mo-update [wesnoth-low-bg]: Creating mo file. [ 4%] mo-update [wesnoth-manpages-bg]: Creating mo file. [ 4%] mo-update [wesnoth-manual-bg]: Creating mo file. [ 4%] mo-update [wesnoth-multiplayer-bg]: Creating mo file. [ 4%] mo-update [wesnoth-nr-bg]: Creating mo file. [ 4%] mo-update [wesnoth-sof-bg]: Creating mo file. [ 4%] mo-update [wesnoth-sota-bg]: Creating mo file. [ 4%] mo-update [wesnoth-sotbe-bg]: Creating mo file. [ 4%] mo-update [wesnoth-tb-bg]: Creating mo file. [ 4%] mo-update [wesnoth-thot-bg]: Creating mo file. [ 4%] mo-update [wesnoth-trow-bg]: Creating mo file. [ 4%] mo-update [wesnoth-tsg-bg]: Creating mo file. [ 4%] mo-update [wesnoth-tutorial-bg]: Creating mo file. [ 4%] mo-update [wesnoth-units-bg]: Creating mo file. [ 4%] mo-update [wesnoth-utbs-bg]: Creating mo file. [ 5%] mo-update [wesnoth-wc-bg]: Creating mo file. [ 5%] mo-update [wesnoth-bg]: Creating mo file. [ 5%] mo-update [wesnoth-anl-ca]: Creating mo file. [ 5%] mo-update [wesnoth-did-ca]: Creating mo file. [ 5%] mo-update [wesnoth-dm-ca]: Creating mo file. [ 5%] mo-update [wesnoth-dw-ca]: Creating mo file. [ 5%] mo-update [wesnoth-editor-ca]: Creating mo file. [ 5%] mo-update [wesnoth-ei-ca]: Creating mo file. [ 5%] mo-update [wesnoth-help-ca]: Creating mo file. [ 5%] mo-update [wesnoth-httt-ca]: Creating mo file. [ 5%] mo-update [wesnoth-l-ca]: Creating mo file. [ 5%] mo-update [wesnoth-lib-ca]: Creating mo file. [ 5%] mo-update [wesnoth-low-ca]: Creating mo file. [ 5%] mo-update [wesnoth-manpages-ca]: Creating mo file. [ 5%] mo-update [wesnoth-manual-ca]: Creating mo file. [ 5%] mo-update [wesnoth-multiplayer-ca]: Creating mo file. [ 5%] mo-update [wesnoth-nr-ca]: Creating mo file. [ 5%] mo-update [wesnoth-sof-ca]: Creating mo file. [ 5%] mo-update [wesnoth-sota-ca]: Creating mo file. [ 5%] mo-update [wesnoth-sotbe-ca]: Creating mo file. [ 5%] mo-update [wesnoth-tb-ca]: Creating mo file. [ 6%] mo-update [wesnoth-thot-ca]: Creating mo file. [ 6%] mo-update [wesnoth-trow-ca]: Creating mo file. [ 6%] mo-update [wesnoth-tsg-ca]: Creating mo file. [ 6%] mo-update [wesnoth-tutorial-ca]: Creating mo file. [ 6%] mo-update [wesnoth-units-ca]: Creating mo file. [ 6%] mo-update [wesnoth-utbs-ca]: Creating mo file. [ 6%] mo-update [wesnoth-wc-ca]: Creating mo file. [ 6%] mo-update [wesnoth-ca]: Creating mo file. [ 6%] mo-update [wesnoth-anl-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-did-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-dm-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-dw-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-editor-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-ei-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-help-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-httt-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-l-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-lib-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-low-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-manpages-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-manual-ca_ES@valencia]: Creating mo file. [ 6%] mo-update [wesnoth-multiplayer-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-nr-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-sof-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-sota-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-sotbe-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-tb-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-thot-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-trow-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-tsg-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-tutorial-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-units-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-utbs-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-wc-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-ca_ES@valencia]: Creating mo file. [ 7%] mo-update [wesnoth-anl-cs]: Creating mo file. [ 7%] mo-update [wesnoth-did-cs]: Creating mo file. [ 7%] mo-update [wesnoth-dm-cs]: Creating mo file. [ 7%] mo-update [wesnoth-dw-cs]: Creating mo file. [ 7%] mo-update [wesnoth-editor-cs]: Creating mo file. [ 7%] mo-update [wesnoth-ei-cs]: Creating mo file. [ 7%] mo-update [wesnoth-help-cs]: Creating mo file. [ 7%] mo-update [wesnoth-httt-cs]: Creating mo file. [ 8%] mo-update [wesnoth-l-cs]: Creating mo file. [ 8%] mo-update [wesnoth-lib-cs]: Creating mo file. [ 8%] mo-update [wesnoth-low-cs]: Creating mo file. [ 8%] mo-update [wesnoth-manpages-cs]: Creating mo file. [ 8%] mo-update [wesnoth-manual-cs]: Creating mo file. [ 8%] mo-update [wesnoth-multiplayer-cs]: Creating mo file. [ 8%] mo-update [wesnoth-nr-cs]: Creating mo file. [ 8%] mo-update [wesnoth-sof-cs]: Creating mo file. [ 8%] mo-update [wesnoth-sota-cs]: Creating mo file. [ 8%] mo-update [wesnoth-sotbe-cs]: Creating mo file. [ 8%] mo-update [wesnoth-tb-cs]: Creating mo file. [ 8%] mo-update [wesnoth-thot-cs]: Creating mo file. [ 8%] mo-update [wesnoth-trow-cs]: Creating mo file. [ 8%] mo-update [wesnoth-tsg-cs]: Creating mo file. [ 8%] mo-update [wesnoth-tutorial-cs]: Creating mo file. [ 8%] mo-update [wesnoth-units-cs]: Creating mo file. [ 8%] mo-update [wesnoth-utbs-cs]: Creating mo file. [ 8%] mo-update [wesnoth-wc-cs]: Creating mo file. [ 8%] mo-update [wesnoth-cs]: Creating mo file. [ 8%] mo-update [wesnoth-anl-da]: Creating mo file. [ 8%] mo-update [wesnoth-did-da]: Creating mo file. [ 8%] mo-update [wesnoth-dm-da]: Creating mo file. [ 9%] mo-update [wesnoth-dw-da]: Creating mo file. [ 9%] mo-update [wesnoth-editor-da]: Creating mo file. [ 9%] mo-update [wesnoth-ei-da]: Creating mo file. [ 9%] mo-update [wesnoth-help-da]: Creating mo file. [ 9%] mo-update [wesnoth-httt-da]: Creating mo file. [ 9%] mo-update [wesnoth-l-da]: Creating mo file. [ 9%] mo-update [wesnoth-lib-da]: Creating mo file. [ 9%] mo-update [wesnoth-low-da]: Creating mo file. [ 9%] mo-update [wesnoth-manpages-da]: Creating mo file. [ 9%] mo-update [wesnoth-manual-da]: Creating mo file. [ 9%] mo-update [wesnoth-multiplayer-da]: Creating mo file. [ 9%] mo-update [wesnoth-nr-da]: Creating mo file. [ 9%] mo-update [wesnoth-sof-da]: Creating mo file. [ 9%] mo-update [wesnoth-sota-da]: Creating mo file. [ 9%] mo-update [wesnoth-sotbe-da]: Creating mo file. [ 9%] mo-update [wesnoth-tb-da]: Creating mo file. [ 9%] mo-update [wesnoth-thot-da]: Creating mo file. [ 9%] mo-update [wesnoth-trow-da]: Creating mo file. [ 9%] mo-update [wesnoth-tsg-da]: Creating mo file. [ 9%] mo-update [wesnoth-tutorial-da]: Creating mo file. [ 9%] mo-update [wesnoth-units-da]: Creating mo file. [ 10%] mo-update [wesnoth-utbs-da]: Creating mo file. [ 10%] mo-update [wesnoth-wc-da]: Creating mo file. [ 10%] mo-update [wesnoth-da]: Creating mo file. [ 10%] mo-update [wesnoth-anl-de]: Creating mo file. [ 10%] mo-update [wesnoth-did-de]: Creating mo file. [ 10%] mo-update [wesnoth-dm-de]: Creating mo file. [ 10%] mo-update [wesnoth-dw-de]: Creating mo file. [ 10%] mo-update [wesnoth-editor-de]: Creating mo file. [ 10%] mo-update [wesnoth-ei-de]: Creating mo file. [ 10%] mo-update [wesnoth-help-de]: Creating mo file. [ 10%] mo-update [wesnoth-httt-de]: Creating mo file. [ 10%] mo-update [wesnoth-l-de]: Creating mo file. [ 10%] mo-update [wesnoth-lib-de]: Creating mo file. [ 10%] mo-update [wesnoth-low-de]: Creating mo file. [ 10%] mo-update [wesnoth-manpages-de]: Creating mo file. [ 10%] mo-update [wesnoth-manual-de]: Creating mo file. [ 10%] mo-update [wesnoth-multiplayer-de]: Creating mo file. [ 10%] mo-update [wesnoth-nr-de]: Creating mo file. [ 10%] mo-update [wesnoth-sof-de]: Creating mo file. [ 10%] mo-update [wesnoth-sota-de]: Creating mo file. [ 10%] mo-update [wesnoth-sotbe-de]: Creating mo file. [ 10%] mo-update [wesnoth-tb-de]: Creating mo file. [ 11%] mo-update [wesnoth-thot-de]: Creating mo file. [ 11%] mo-update [wesnoth-trow-de]: Creating mo file. [ 11%] mo-update [wesnoth-tsg-de]: Creating mo file. [ 11%] mo-update [wesnoth-tutorial-de]: Creating mo file. [ 11%] mo-update [wesnoth-units-de]: Creating mo file. [ 11%] mo-update [wesnoth-utbs-de]: Creating mo file. [ 11%] mo-update [wesnoth-wc-de]: Creating mo file. [ 11%] mo-update [wesnoth-de]: Creating mo file. [ 11%] mo-update [wesnoth-anl-el]: Creating mo file. [ 11%] mo-update [wesnoth-did-el]: Creating mo file. [ 11%] mo-update [wesnoth-dm-el]: Creating mo file. [ 11%] mo-update [wesnoth-dw-el]: Creating mo file. [ 11%] mo-update [wesnoth-editor-el]: Creating mo file. [ 11%] mo-update [wesnoth-ei-el]: Creating mo file. [ 11%] mo-update [wesnoth-help-el]: Creating mo file. [ 11%] mo-update [wesnoth-httt-el]: Creating mo file. [ 11%] mo-update [wesnoth-l-el]: Creating mo file. [ 11%] mo-update [wesnoth-lib-el]: Creating mo file. [ 11%] mo-update [wesnoth-low-el]: Creating mo file. [ 11%] mo-update [wesnoth-manpages-el]: Creating mo file. [ 11%] mo-update [wesnoth-manual-el]: Creating mo file. [ 12%] mo-update [wesnoth-multiplayer-el]: Creating mo file. [ 12%] mo-update [wesnoth-nr-el]: Creating mo file. [ 12%] mo-update [wesnoth-sof-el]: Creating mo file. [ 12%] mo-update [wesnoth-sota-el]: Creating mo file. [ 12%] mo-update [wesnoth-sotbe-el]: Creating mo file. [ 12%] mo-update [wesnoth-tb-el]: Creating mo file. [ 12%] mo-update [wesnoth-thot-el]: Creating mo file. [ 12%] mo-update [wesnoth-trow-el]: Creating mo file. [ 12%] mo-update [wesnoth-tsg-el]: Creating mo file. [ 12%] mo-update [wesnoth-tutorial-el]: Creating mo file. [ 12%] mo-update [wesnoth-units-el]: Creating mo file. [ 12%] mo-update [wesnoth-utbs-el]: Creating mo file. [ 12%] mo-update [wesnoth-wc-el]: Creating mo file. [ 12%] mo-update [wesnoth-el]: Creating mo file. [ 12%] mo-update [wesnoth-anl-en@shaw]: Creating mo file. [ 12%] mo-update [wesnoth-did-en@shaw]: Creating mo file. [ 12%] mo-update [wesnoth-dm-en@shaw]: Creating mo file. [ 12%] mo-update [wesnoth-dw-en@shaw]: Creating mo file. [ 12%] mo-update [wesnoth-editor-en@shaw]: Creating mo file. [ 12%] mo-update [wesnoth-ei-en@shaw]: Creating mo file. [ 12%] mo-update [wesnoth-help-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-httt-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-l-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-lib-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-low-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-manpages-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-manual-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-multiplayer-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-nr-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-sof-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-sota-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-sotbe-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-tb-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-thot-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-trow-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-tsg-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-tutorial-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-units-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-utbs-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-wc-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-en@shaw]: Creating mo file. [ 13%] mo-update [wesnoth-anl-en_GB]: Creating mo file. [ 13%] mo-update [wesnoth-did-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-dm-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-dw-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-editor-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-ei-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-help-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-httt-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-l-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-lib-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-low-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-manpages-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-manual-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-multiplayer-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-nr-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-sof-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-sota-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-sotbe-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-tb-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-thot-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-trow-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-tsg-en_GB]: Creating mo file. [ 14%] mo-update [wesnoth-tutorial-en_GB]: Creating mo file. [ 15%] mo-update [wesnoth-units-en_GB]: Creating mo file. [ 15%] mo-update [wesnoth-utbs-en_GB]: Creating mo file. [ 15%] mo-update [wesnoth-wc-en_GB]: Creating mo file. [ 15%] mo-update [wesnoth-en_GB]: Creating mo file. [ 15%] mo-update [wesnoth-anl-eo]: Creating mo file. [ 15%] mo-update [wesnoth-did-eo]: Creating mo file. [ 15%] mo-update [wesnoth-dm-eo]: Creating mo file. [ 15%] mo-update [wesnoth-dw-eo]: Creating mo file. [ 15%] mo-update [wesnoth-editor-eo]: Creating mo file. [ 15%] mo-update [wesnoth-ei-eo]: Creating mo file. [ 15%] mo-update [wesnoth-help-eo]: Creating mo file. [ 15%] mo-update [wesnoth-httt-eo]: Creating mo file. [ 15%] mo-update [wesnoth-l-eo]: Creating mo file. [ 15%] mo-update [wesnoth-lib-eo]: Creating mo file. [ 15%] mo-update [wesnoth-low-eo]: Creating mo file. [ 15%] mo-update [wesnoth-manpages-eo]: Creating mo file. [ 15%] mo-update [wesnoth-manual-eo]: Creating mo file. [ 15%] mo-update [wesnoth-multiplayer-eo]: Creating mo file. [ 15%] mo-update [wesnoth-nr-eo]: Creating mo file. [ 15%] mo-update [wesnoth-sof-eo]: Creating mo file. [ 15%] mo-update [wesnoth-sota-eo]: Creating mo file. [ 15%] mo-update [wesnoth-sotbe-eo]: Creating mo file. [ 16%] mo-update [wesnoth-tb-eo]: Creating mo file. [ 16%] mo-update [wesnoth-thot-eo]: Creating mo file. [ 16%] mo-update [wesnoth-trow-eo]: Creating mo file. [ 16%] mo-update [wesnoth-tsg-eo]: Creating mo file. [ 16%] mo-update [wesnoth-tutorial-eo]: Creating mo file. [ 16%] mo-update [wesnoth-units-eo]: Creating mo file. [ 16%] mo-update [wesnoth-utbs-eo]: Creating mo file. [ 16%] mo-update [wesnoth-wc-eo]: Creating mo file. [ 16%] mo-update [wesnoth-eo]: Creating mo file. [ 16%] mo-update [wesnoth-anl-es]: Creating mo file. [ 16%] mo-update [wesnoth-did-es]: Creating mo file. [ 16%] mo-update [wesnoth-dm-es]: Creating mo file. [ 16%] mo-update [wesnoth-dw-es]: Creating mo file. [ 16%] mo-update [wesnoth-editor-es]: Creating mo file. [ 16%] mo-update [wesnoth-ei-es]: Creating mo file. [ 16%] mo-update [wesnoth-help-es]: Creating mo file. [ 16%] mo-update [wesnoth-httt-es]: Creating mo file. [ 16%] mo-update [wesnoth-l-es]: Creating mo file. [ 16%] mo-update [wesnoth-lib-es]: Creating mo file. [ 16%] mo-update [wesnoth-low-es]: Creating mo file. [ 16%] mo-update [wesnoth-manpages-es]: Creating mo file. [ 17%] mo-update [wesnoth-manual-es]: Creating mo file. [ 17%] mo-update [wesnoth-multiplayer-es]: Creating mo file. [ 17%] mo-update [wesnoth-nr-es]: Creating mo file. [ 17%] mo-update [wesnoth-sof-es]: Creating mo file. [ 17%] mo-update [wesnoth-sota-es]: Creating mo file. [ 17%] mo-update [wesnoth-sotbe-es]: Creating mo file. [ 17%] mo-update [wesnoth-tb-es]: Creating mo file. [ 17%] mo-update [wesnoth-thot-es]: Creating mo file. [ 17%] mo-update [wesnoth-trow-es]: Creating mo file. [ 17%] mo-update [wesnoth-tsg-es]: Creating mo file. [ 17%] mo-update [wesnoth-tutorial-es]: Creating mo file. [ 17%] mo-update [wesnoth-units-es]: Creating mo file. [ 17%] mo-update [wesnoth-utbs-es]: Creating mo file. [ 17%] mo-update [wesnoth-wc-es]: Creating mo file. [ 17%] mo-update [wesnoth-es]: Creating mo file. [ 17%] mo-update [wesnoth-anl-es_419]: Creating mo file. [ 17%] mo-update [wesnoth-did-es_419]: Creating mo file. [ 17%] mo-update [wesnoth-dm-es_419]: Creating mo file. [ 17%] mo-update [wesnoth-dw-es_419]: Creating mo file. [ 17%] mo-update [wesnoth-editor-es_419]: Creating mo file. [ 17%] mo-update [wesnoth-ei-es_419]: Creating mo file. [ 17%] mo-update [wesnoth-help-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-httt-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-l-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-lib-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-low-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-manpages-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-manual-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-multiplayer-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-nr-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-sof-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-sota-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-sotbe-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-tb-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-thot-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-trow-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-tsg-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-tutorial-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-units-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-utbs-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-wc-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-es_419]: Creating mo file. [ 18%] mo-update [wesnoth-anl-et]: Creating mo file. [ 19%] mo-update [wesnoth-did-et]: Creating mo file. [ 19%] mo-update [wesnoth-dm-et]: Creating mo file. [ 19%] mo-update [wesnoth-dw-et]: Creating mo file. [ 19%] mo-update [wesnoth-editor-et]: Creating mo file. [ 19%] mo-update [wesnoth-ei-et]: Creating mo file. [ 19%] mo-update [wesnoth-help-et]: Creating mo file. [ 19%] mo-update [wesnoth-httt-et]: Creating mo file. [ 19%] mo-update [wesnoth-l-et]: Creating mo file. [ 19%] mo-update [wesnoth-lib-et]: Creating mo file. [ 19%] mo-update [wesnoth-low-et]: Creating mo file. [ 19%] mo-update [wesnoth-manpages-et]: Creating mo file. [ 19%] mo-update [wesnoth-manual-et]: Creating mo file. [ 19%] mo-update [wesnoth-multiplayer-et]: Creating mo file. [ 19%] mo-update [wesnoth-nr-et]: Creating mo file. [ 19%] mo-update [wesnoth-sof-et]: Creating mo file. [ 19%] mo-update [wesnoth-sota-et]: Creating mo file. [ 19%] mo-update [wesnoth-sotbe-et]: Creating mo file. [ 19%] mo-update [wesnoth-tb-et]: Creating mo file. [ 19%] mo-update [wesnoth-thot-et]: Creating mo file. [ 19%] mo-update [wesnoth-trow-et]: Creating mo file. [ 19%] mo-update [wesnoth-tsg-et]: Creating mo file. [ 19%] mo-update [wesnoth-tutorial-et]: Creating mo file. [ 20%] mo-update [wesnoth-units-et]: Creating mo file. [ 20%] mo-update [wesnoth-utbs-et]: Creating mo file. [ 20%] mo-update [wesnoth-wc-et]: Creating mo file. [ 20%] mo-update [wesnoth-et]: Creating mo file. [ 20%] mo-update [wesnoth-anl-eu]: Creating mo file. [ 20%] mo-update [wesnoth-did-eu]: Creating mo file. [ 20%] mo-update [wesnoth-dm-eu]: Creating mo file. [ 20%] mo-update [wesnoth-dw-eu]: Creating mo file. [ 20%] mo-update [wesnoth-editor-eu]: Creating mo file. [ 20%] mo-update [wesnoth-ei-eu]: Creating mo file. [ 20%] mo-update [wesnoth-help-eu]: Creating mo file. [ 20%] mo-update [wesnoth-httt-eu]: Creating mo file. [ 20%] mo-update [wesnoth-l-eu]: Creating mo file. [ 20%] mo-update [wesnoth-lib-eu]: Creating mo file. [ 20%] mo-update [wesnoth-low-eu]: Creating mo file. [ 20%] mo-update [wesnoth-manpages-eu]: Creating mo file. [ 20%] mo-update [wesnoth-manual-eu]: Creating mo file. [ 20%] mo-update [wesnoth-multiplayer-eu]: Creating mo file. [ 20%] mo-update [wesnoth-nr-eu]: Creating mo file. [ 20%] mo-update [wesnoth-sof-eu]: Creating mo file. [ 20%] mo-update [wesnoth-sota-eu]: Creating mo file. [ 21%] mo-update [wesnoth-sotbe-eu]: Creating mo file. [ 21%] mo-update [wesnoth-tb-eu]: Creating mo file. [ 21%] mo-update [wesnoth-thot-eu]: Creating mo file. [ 21%] mo-update [wesnoth-trow-eu]: Creating mo file. [ 21%] mo-update [wesnoth-tsg-eu]: Creating mo file. [ 21%] mo-update [wesnoth-tutorial-eu]: Creating mo file. [ 21%] mo-update [wesnoth-units-eu]: Creating mo file. [ 21%] mo-update [wesnoth-utbs-eu]: Creating mo file. [ 21%] mo-update [wesnoth-wc-eu]: Creating mo file. [ 21%] mo-update [wesnoth-eu]: Creating mo file. [ 21%] mo-update [wesnoth-anl-fi]: Creating mo file. [ 21%] mo-update [wesnoth-did-fi]: Creating mo file. [ 21%] mo-update [wesnoth-dm-fi]: Creating mo file. [ 21%] mo-update [wesnoth-dw-fi]: Creating mo file. [ 21%] mo-update [wesnoth-editor-fi]: Creating mo file. [ 21%] mo-update [wesnoth-ei-fi]: Creating mo file. [ 21%] mo-update [wesnoth-help-fi]: Creating mo file. [ 21%] mo-update [wesnoth-httt-fi]: Creating mo file. [ 21%] mo-update [wesnoth-l-fi]: Creating mo file. [ 21%] mo-update [wesnoth-lib-fi]: Creating mo file. [ 21%] mo-update [wesnoth-low-fi]: Creating mo file. [ 21%] mo-update [wesnoth-manpages-fi]: Creating mo file. [ 22%] mo-update [wesnoth-manual-fi]: Creating mo file. [ 22%] mo-update [wesnoth-multiplayer-fi]: Creating mo file. [ 22%] mo-update [wesnoth-nr-fi]: Creating mo file. [ 22%] mo-update [wesnoth-sof-fi]: Creating mo file. [ 22%] mo-update [wesnoth-sota-fi]: Creating mo file. [ 22%] mo-update [wesnoth-sotbe-fi]: Creating mo file. [ 22%] mo-update [wesnoth-tb-fi]: Creating mo file. [ 22%] mo-update [wesnoth-thot-fi]: Creating mo file. [ 22%] mo-update [wesnoth-trow-fi]: Creating mo file. [ 22%] mo-update [wesnoth-tsg-fi]: Creating mo file. [ 22%] mo-update [wesnoth-tutorial-fi]: Creating mo file. [ 22%] mo-update [wesnoth-units-fi]: Creating mo file. [ 22%] mo-update [wesnoth-utbs-fi]: Creating mo file. [ 22%] mo-update [wesnoth-wc-fi]: Creating mo file. [ 22%] mo-update [wesnoth-fi]: Creating mo file. [ 22%] mo-update [wesnoth-anl-fr]: Creating mo file. [ 22%] mo-update [wesnoth-did-fr]: Creating mo file. [ 22%] mo-update [wesnoth-dm-fr]: Creating mo file. [ 22%] mo-update [wesnoth-dw-fr]: Creating mo file. [ 22%] mo-update [wesnoth-editor-fr]: Creating mo file. [ 22%] mo-update [wesnoth-ei-fr]: Creating mo file. [ 23%] mo-update [wesnoth-help-fr]: Creating mo file. [ 23%] mo-update [wesnoth-httt-fr]: Creating mo file. [ 23%] mo-update [wesnoth-l-fr]: Creating mo file. [ 23%] mo-update [wesnoth-lib-fr]: Creating mo file. [ 23%] mo-update [wesnoth-low-fr]: Creating mo file. [ 23%] mo-update [wesnoth-manpages-fr]: Creating mo file. [ 23%] mo-update [wesnoth-manual-fr]: Creating mo file. [ 23%] mo-update [wesnoth-multiplayer-fr]: Creating mo file. [ 23%] mo-update [wesnoth-nr-fr]: Creating mo file. [ 23%] mo-update [wesnoth-sof-fr]: Creating mo file. [ 23%] mo-update [wesnoth-sota-fr]: Creating mo file. [ 23%] mo-update [wesnoth-sotbe-fr]: Creating mo file. [ 23%] mo-update [wesnoth-tb-fr]: Creating mo file. [ 23%] mo-update [wesnoth-thot-fr]: Creating mo file. [ 23%] mo-update [wesnoth-trow-fr]: Creating mo file. [ 23%] mo-update [wesnoth-tsg-fr]: Creating mo file. [ 23%] mo-update [wesnoth-tutorial-fr]: Creating mo file. [ 23%] mo-update [wesnoth-units-fr]: Creating mo file. [ 23%] mo-update [wesnoth-utbs-fr]: Creating mo file. [ 23%] mo-update [wesnoth-wc-fr]: Creating mo file. [ 23%] mo-update [wesnoth-fr]: Creating mo file. [ 23%] mo-update [wesnoth-anl-ga]: Creating mo file. [ 24%] mo-update [wesnoth-did-ga]: Creating mo file. [ 24%] mo-update [wesnoth-dm-ga]: Creating mo file. [ 24%] mo-update [wesnoth-dw-ga]: Creating mo file. [ 24%] mo-update [wesnoth-editor-ga]: Creating mo file. [ 24%] mo-update [wesnoth-ei-ga]: Creating mo file. [ 24%] mo-update [wesnoth-help-ga]: Creating mo file. [ 24%] mo-update [wesnoth-httt-ga]: Creating mo file. [ 24%] mo-update [wesnoth-l-ga]: Creating mo file. [ 24%] mo-update [wesnoth-lib-ga]: Creating mo file. [ 24%] mo-update [wesnoth-low-ga]: Creating mo file. [ 24%] mo-update [wesnoth-manpages-ga]: Creating mo file. [ 24%] mo-update [wesnoth-manual-ga]: Creating mo file. [ 24%] mo-update [wesnoth-multiplayer-ga]: Creating mo file. [ 24%] mo-update [wesnoth-nr-ga]: Creating mo file. [ 24%] mo-update [wesnoth-sof-ga]: Creating mo file. [ 24%] mo-update [wesnoth-sota-ga]: Creating mo file. [ 24%] mo-update [wesnoth-sotbe-ga]: Creating mo file. [ 24%] mo-update [wesnoth-tb-ga]: Creating mo file. [ 24%] mo-update [wesnoth-thot-ga]: Creating mo file. [ 24%] mo-update [wesnoth-trow-ga]: Creating mo file. [ 24%] mo-update [wesnoth-tsg-ga]: Creating mo file. [ 25%] mo-update [wesnoth-tutorial-ga]: Creating mo file. [ 25%] mo-update [wesnoth-units-ga]: Creating mo file. [ 25%] mo-update [wesnoth-utbs-ga]: Creating mo file. [ 25%] mo-update [wesnoth-wc-ga]: Creating mo file. [ 25%] mo-update [wesnoth-ga]: Creating mo file. [ 25%] mo-update [wesnoth-anl-gd]: Creating mo file. [ 25%] mo-update [wesnoth-did-gd]: Creating mo file. [ 25%] mo-update [wesnoth-dm-gd]: Creating mo file. [ 25%] mo-update [wesnoth-dw-gd]: Creating mo file. [ 25%] mo-update [wesnoth-editor-gd]: Creating mo file. [ 25%] mo-update [wesnoth-ei-gd]: Creating mo file. [ 25%] mo-update [wesnoth-help-gd]: Creating mo file. [ 25%] mo-update [wesnoth-httt-gd]: Creating mo file. [ 25%] mo-update [wesnoth-l-gd]: Creating mo file. [ 25%] mo-update [wesnoth-lib-gd]: Creating mo file. [ 25%] mo-update [wesnoth-low-gd]: Creating mo file. [ 25%] mo-update [wesnoth-manpages-gd]: Creating mo file. [ 25%] mo-update [wesnoth-manual-gd]: Creating mo file. [ 25%] mo-update [wesnoth-multiplayer-gd]: Creating mo file. [ 25%] mo-update [wesnoth-nr-gd]: Creating mo file. [ 25%] mo-update [wesnoth-sof-gd]: Creating mo file. [ 26%] mo-update [wesnoth-sota-gd]: Creating mo file. [ 26%] mo-update [wesnoth-sotbe-gd]: Creating mo file. [ 26%] mo-update [wesnoth-tb-gd]: Creating mo file. [ 26%] mo-update [wesnoth-thot-gd]: Creating mo file. [ 26%] mo-update [wesnoth-trow-gd]: Creating mo file. [ 26%] mo-update [wesnoth-tsg-gd]: Creating mo file. [ 26%] mo-update [wesnoth-tutorial-gd]: Creating mo file. [ 26%] mo-update [wesnoth-units-gd]: Creating mo file. [ 26%] mo-update [wesnoth-utbs-gd]: Creating mo file. [ 26%] mo-update [wesnoth-wc-gd]: Creating mo file. [ 26%] mo-update [wesnoth-gd]: Creating mo file. [ 26%] mo-update [wesnoth-anl-gl]: Creating mo file. [ 26%] mo-update [wesnoth-did-gl]: Creating mo file. [ 26%] mo-update [wesnoth-dm-gl]: Creating mo file. [ 26%] mo-update [wesnoth-dw-gl]: Creating mo file. [ 26%] mo-update [wesnoth-editor-gl]: Creating mo file. [ 26%] mo-update [wesnoth-ei-gl]: Creating mo file. [ 26%] mo-update [wesnoth-help-gl]: Creating mo file. [ 26%] mo-update [wesnoth-httt-gl]: Creating mo file. [ 26%] mo-update [wesnoth-l-gl]: Creating mo file. [ 26%] mo-update [wesnoth-lib-gl]: Creating mo file. [ 26%] mo-update [wesnoth-low-gl]: Creating mo file. [ 27%] mo-update [wesnoth-manpages-gl]: Creating mo file. [ 27%] mo-update [wesnoth-manual-gl]: Creating mo file. [ 27%] mo-update [wesnoth-multiplayer-gl]: Creating mo file. [ 27%] mo-update [wesnoth-nr-gl]: Creating mo file. [ 27%] mo-update [wesnoth-sof-gl]: Creating mo file. [ 27%] mo-update [wesnoth-sota-gl]: Creating mo file. [ 27%] mo-update [wesnoth-sotbe-gl]: Creating mo file. [ 27%] mo-update [wesnoth-tb-gl]: Creating mo file. [ 27%] mo-update [wesnoth-thot-gl]: Creating mo file. [ 27%] mo-update [wesnoth-trow-gl]: Creating mo file. [ 27%] mo-update [wesnoth-tsg-gl]: Creating mo file. [ 27%] mo-update [wesnoth-tutorial-gl]: Creating mo file. [ 27%] mo-update [wesnoth-units-gl]: Creating mo file. [ 27%] mo-update [wesnoth-utbs-gl]: Creating mo file. [ 27%] mo-update [wesnoth-wc-gl]: Creating mo file. [ 27%] mo-update [wesnoth-gl]: Creating mo file. [ 27%] mo-update [wesnoth-anl-grc]: Creating mo file. [ 27%] mo-update [wesnoth-did-grc]: Creating mo file. [ 27%] mo-update [wesnoth-dm-grc]: Creating mo file. [ 27%] mo-update [wesnoth-dw-grc]: Creating mo file. [ 27%] mo-update [wesnoth-editor-grc]: Creating mo file. [ 28%] mo-update [wesnoth-ei-grc]: Creating mo file. [ 28%] mo-update [wesnoth-help-grc]: Creating mo file. [ 28%] mo-update [wesnoth-httt-grc]: Creating mo file. [ 28%] mo-update [wesnoth-l-grc]: Creating mo file. [ 28%] mo-update [wesnoth-lib-grc]: Creating mo file. [ 28%] mo-update [wesnoth-low-grc]: Creating mo file. [ 28%] mo-update [wesnoth-manpages-grc]: Creating mo file. [ 28%] mo-update [wesnoth-manual-grc]: Creating mo file. [ 28%] mo-update [wesnoth-multiplayer-grc]: Creating mo file. [ 28%] mo-update [wesnoth-nr-grc]: Creating mo file. [ 28%] mo-update [wesnoth-sof-grc]: Creating mo file. [ 28%] mo-update [wesnoth-sota-grc]: Creating mo file. [ 28%] mo-update [wesnoth-sotbe-grc]: Creating mo file. [ 28%] mo-update [wesnoth-tb-grc]: Creating mo file. [ 28%] mo-update [wesnoth-thot-grc]: Creating mo file. [ 28%] mo-update [wesnoth-trow-grc]: Creating mo file. [ 28%] mo-update [wesnoth-tsg-grc]: Creating mo file. [ 28%] mo-update [wesnoth-tutorial-grc]: Creating mo file. [ 28%] mo-update [wesnoth-units-grc]: Creating mo file. [ 28%] mo-update [wesnoth-utbs-grc]: Creating mo file. [ 28%] mo-update [wesnoth-wc-grc]: Creating mo file. [ 28%] mo-update [wesnoth-grc]: Creating mo file. [ 29%] mo-update [wesnoth-anl-he]: Creating mo file. [ 29%] mo-update [wesnoth-did-he]: Creating mo file. [ 29%] mo-update [wesnoth-dm-he]: Creating mo file. [ 29%] mo-update [wesnoth-dw-he]: Creating mo file. [ 29%] mo-update [wesnoth-editor-he]: Creating mo file. [ 29%] mo-update [wesnoth-ei-he]: Creating mo file. [ 29%] mo-update [wesnoth-help-he]: Creating mo file. [ 29%] mo-update [wesnoth-httt-he]: Creating mo file. [ 29%] mo-update [wesnoth-l-he]: Creating mo file. [ 29%] mo-update [wesnoth-lib-he]: Creating mo file. [ 29%] mo-update [wesnoth-low-he]: Creating mo file. [ 29%] mo-update [wesnoth-manpages-he]: Creating mo file. [ 29%] mo-update [wesnoth-manual-he]: Creating mo file. [ 29%] mo-update [wesnoth-multiplayer-he]: Creating mo file. [ 29%] mo-update [wesnoth-nr-he]: Creating mo file. [ 29%] mo-update [wesnoth-sof-he]: Creating mo file. [ 29%] mo-update [wesnoth-sota-he]: Creating mo file. [ 29%] mo-update [wesnoth-sotbe-he]: Creating mo file. [ 29%] mo-update [wesnoth-tb-he]: Creating mo file. [ 29%] mo-update [wesnoth-thot-he]: Creating mo file. [ 29%] mo-update [wesnoth-trow-he]: Creating mo file. [ 30%] mo-update [wesnoth-tsg-he]: Creating mo file. [ 30%] mo-update [wesnoth-tutorial-he]: Creating mo file. [ 30%] mo-update [wesnoth-units-he]: Creating mo file. [ 30%] mo-update [wesnoth-utbs-he]: Creating mo file. [ 30%] mo-update [wesnoth-wc-he]: Creating mo file. [ 30%] mo-update [wesnoth-he]: Creating mo file. [ 30%] mo-update [wesnoth-anl-hr]: Creating mo file. [ 30%] mo-update [wesnoth-did-hr]: Creating mo file. [ 30%] mo-update [wesnoth-dm-hr]: Creating mo file. [ 30%] mo-update [wesnoth-dw-hr]: Creating mo file. [ 30%] mo-update [wesnoth-editor-hr]: Creating mo file. [ 30%] mo-update [wesnoth-ei-hr]: Creating mo file. [ 30%] mo-update [wesnoth-help-hr]: Creating mo file. [ 30%] mo-update [wesnoth-httt-hr]: Creating mo file. [ 30%] mo-update [wesnoth-l-hr]: Creating mo file. [ 30%] mo-update [wesnoth-lib-hr]: Creating mo file. [ 30%] mo-update [wesnoth-low-hr]: Creating mo file. [ 30%] mo-update [wesnoth-manpages-hr]: Creating mo file. [ 30%] mo-update [wesnoth-manual-hr]: Creating mo file. [ 30%] mo-update [wesnoth-multiplayer-hr]: Creating mo file. [ 30%] mo-update [wesnoth-nr-hr]: Creating mo file. [ 30%] mo-update [wesnoth-sof-hr]: Creating mo file. [ 31%] mo-update [wesnoth-sota-hr]: Creating mo file. [ 31%] mo-update [wesnoth-sotbe-hr]: Creating mo file. [ 31%] mo-update [wesnoth-tb-hr]: Creating mo file. [ 31%] mo-update [wesnoth-thot-hr]: Creating mo file. [ 31%] mo-update [wesnoth-trow-hr]: Creating mo file. [ 31%] mo-update [wesnoth-tsg-hr]: Creating mo file. [ 31%] mo-update [wesnoth-tutorial-hr]: Creating mo file. [ 31%] mo-update [wesnoth-units-hr]: Creating mo file. [ 31%] mo-update [wesnoth-utbs-hr]: Creating mo file. [ 31%] mo-update [wesnoth-wc-hr]: Creating mo file. [ 31%] mo-update [wesnoth-hr]: Creating mo file. [ 31%] mo-update [wesnoth-anl-hu]: Creating mo file. [ 31%] mo-update [wesnoth-did-hu]: Creating mo file. [ 31%] mo-update [wesnoth-dm-hu]: Creating mo file. [ 31%] mo-update [wesnoth-dw-hu]: Creating mo file. [ 31%] mo-update [wesnoth-editor-hu]: Creating mo file. [ 31%] mo-update [wesnoth-ei-hu]: Creating mo file. [ 31%] mo-update [wesnoth-help-hu]: Creating mo file. [ 31%] mo-update [wesnoth-httt-hu]: Creating mo file. [ 31%] mo-update [wesnoth-l-hu]: Creating mo file. [ 31%] mo-update [wesnoth-lib-hu]: Creating mo file. [ 32%] mo-update [wesnoth-low-hu]: Creating mo file. [ 32%] mo-update [wesnoth-manpages-hu]: Creating mo file. [ 32%] mo-update [wesnoth-manual-hu]: Creating mo file. [ 32%] mo-update [wesnoth-multiplayer-hu]: Creating mo file. [ 32%] mo-update [wesnoth-nr-hu]: Creating mo file. [ 32%] mo-update [wesnoth-sof-hu]: Creating mo file. [ 32%] mo-update [wesnoth-sota-hu]: Creating mo file. [ 32%] mo-update [wesnoth-sotbe-hu]: Creating mo file. [ 32%] mo-update [wesnoth-tb-hu]: Creating mo file. [ 32%] mo-update [wesnoth-thot-hu]: Creating mo file. [ 32%] mo-update [wesnoth-trow-hu]: Creating mo file. [ 32%] mo-update [wesnoth-tsg-hu]: Creating mo file. [ 32%] mo-update [wesnoth-tutorial-hu]: Creating mo file. [ 32%] mo-update [wesnoth-units-hu]: Creating mo file. [ 32%] mo-update [wesnoth-utbs-hu]: Creating mo file. [ 32%] mo-update [wesnoth-wc-hu]: Creating mo file. [ 32%] mo-update [wesnoth-hu]: Creating mo file. [ 32%] mo-update [wesnoth-anl-id]: Creating mo file. [ 32%] mo-update [wesnoth-did-id]: Creating mo file. [ 32%] mo-update [wesnoth-dm-id]: Creating mo file. [ 32%] mo-update [wesnoth-dw-id]: Creating mo file. [ 32%] mo-update [wesnoth-editor-id]: Creating mo file. [ 33%] mo-update [wesnoth-ei-id]: Creating mo file. [ 33%] mo-update [wesnoth-help-id]: Creating mo file. [ 33%] mo-update [wesnoth-httt-id]: Creating mo file. [ 33%] mo-update [wesnoth-l-id]: Creating mo file. [ 33%] mo-update [wesnoth-lib-id]: Creating mo file. [ 33%] mo-update [wesnoth-low-id]: Creating mo file. [ 33%] mo-update [wesnoth-manpages-id]: Creating mo file. [ 33%] mo-update [wesnoth-manual-id]: Creating mo file. [ 33%] mo-update [wesnoth-multiplayer-id]: Creating mo file. [ 33%] mo-update [wesnoth-nr-id]: Creating mo file. [ 33%] mo-update [wesnoth-sof-id]: Creating mo file. [ 33%] mo-update [wesnoth-sota-id]: Creating mo file. [ 33%] mo-update [wesnoth-sotbe-id]: Creating mo file. [ 33%] mo-update [wesnoth-tb-id]: Creating mo file. [ 33%] mo-update [wesnoth-thot-id]: Creating mo file. [ 33%] mo-update [wesnoth-trow-id]: Creating mo file. [ 33%] mo-update [wesnoth-tsg-id]: Creating mo file. [ 33%] mo-update [wesnoth-tutorial-id]: Creating mo file. [ 33%] mo-update [wesnoth-units-id]: Creating mo file. [ 33%] mo-update [wesnoth-utbs-id]: Creating mo file. [ 33%] mo-update [wesnoth-wc-id]: Creating mo file. [ 34%] mo-update [wesnoth-id]: Creating mo file. [ 34%] mo-update [wesnoth-anl-is]: Creating mo file. [ 34%] mo-update [wesnoth-did-is]: Creating mo file. [ 34%] mo-update [wesnoth-dm-is]: Creating mo file. [ 34%] mo-update [wesnoth-dw-is]: Creating mo file. [ 34%] mo-update [wesnoth-editor-is]: Creating mo file. [ 34%] mo-update [wesnoth-ei-is]: Creating mo file. [ 34%] mo-update [wesnoth-help-is]: Creating mo file. [ 34%] mo-update [wesnoth-httt-is]: Creating mo file. [ 34%] mo-update [wesnoth-l-is]: Creating mo file. [ 34%] mo-update [wesnoth-lib-is]: Creating mo file. [ 34%] mo-update [wesnoth-low-is]: Creating mo file. [ 34%] mo-update [wesnoth-manpages-is]: Creating mo file. [ 34%] mo-update [wesnoth-manual-is]: Creating mo file. [ 34%] mo-update [wesnoth-multiplayer-is]: Creating mo file. [ 34%] mo-update [wesnoth-nr-is]: Creating mo file. [ 34%] mo-update [wesnoth-sof-is]: Creating mo file. [ 34%] mo-update [wesnoth-sota-is]: Creating mo file. [ 34%] mo-update [wesnoth-sotbe-is]: Creating mo file. [ 34%] mo-update [wesnoth-tb-is]: Creating mo file. [ 34%] mo-update [wesnoth-thot-is]: Creating mo file. [ 34%] mo-update [wesnoth-trow-is]: Creating mo file. [ 35%] mo-update [wesnoth-tsg-is]: Creating mo file. [ 35%] mo-update [wesnoth-tutorial-is]: Creating mo file. [ 35%] mo-update [wesnoth-units-is]: Creating mo file. [ 35%] mo-update [wesnoth-utbs-is]: Creating mo file. [ 35%] mo-update [wesnoth-wc-is]: Creating mo file. [ 35%] mo-update [wesnoth-is]: Creating mo file. [ 35%] mo-update [wesnoth-anl-it]: Creating mo file. [ 35%] mo-update [wesnoth-did-it]: Creating mo file. [ 35%] mo-update [wesnoth-dm-it]: Creating mo file. [ 35%] mo-update [wesnoth-dw-it]: Creating mo file. [ 35%] mo-update [wesnoth-editor-it]: Creating mo file. [ 35%] mo-update [wesnoth-ei-it]: Creating mo file. [ 35%] mo-update [wesnoth-help-it]: Creating mo file. [ 35%] mo-update [wesnoth-httt-it]: Creating mo file. [ 35%] mo-update [wesnoth-l-it]: Creating mo file. [ 35%] mo-update [wesnoth-lib-it]: Creating mo file. [ 35%] mo-update [wesnoth-low-it]: Creating mo file. [ 35%] mo-update [wesnoth-manpages-it]: Creating mo file. [ 35%] mo-update [wesnoth-manual-it]: Creating mo file. [ 35%] mo-update [wesnoth-multiplayer-it]: Creating mo file. [ 35%] mo-update [wesnoth-nr-it]: Creating mo file. [ 36%] mo-update [wesnoth-sof-it]: Creating mo file. [ 36%] mo-update [wesnoth-sota-it]: Creating mo file. [ 36%] mo-update [wesnoth-sotbe-it]: Creating mo file. [ 36%] mo-update [wesnoth-tb-it]: Creating mo file. [ 36%] mo-update [wesnoth-thot-it]: Creating mo file. [ 36%] mo-update [wesnoth-trow-it]: Creating mo file. [ 36%] mo-update [wesnoth-tsg-it]: Creating mo file. [ 36%] mo-update [wesnoth-tutorial-it]: Creating mo file. [ 36%] mo-update [wesnoth-units-it]: Creating mo file. [ 36%] mo-update [wesnoth-utbs-it]: Creating mo file. [ 36%] mo-update [wesnoth-wc-it]: Creating mo file. [ 36%] mo-update [wesnoth-it]: Creating mo file. [ 36%] mo-update [wesnoth-anl-ja]: Creating mo file. [ 36%] mo-update [wesnoth-did-ja]: Creating mo file. [ 36%] mo-update [wesnoth-dm-ja]: Creating mo file. [ 36%] mo-update [wesnoth-dw-ja]: Creating mo file. [ 36%] mo-update [wesnoth-editor-ja]: Creating mo file. [ 36%] mo-update [wesnoth-ei-ja]: Creating mo file. [ 36%] mo-update [wesnoth-help-ja]: Creating mo file. [ 36%] mo-update [wesnoth-httt-ja]: Creating mo file. [ 36%] mo-update [wesnoth-l-ja]: Creating mo file. [ 36%] mo-update [wesnoth-lib-ja]: Creating mo file. [ 37%] mo-update [wesnoth-low-ja]: Creating mo file. [ 37%] mo-update [wesnoth-manpages-ja]: Creating mo file. [ 37%] mo-update [wesnoth-manual-ja]: Creating mo file. [ 37%] mo-update [wesnoth-multiplayer-ja]: Creating mo file. [ 37%] mo-update [wesnoth-nr-ja]: Creating mo file. [ 37%] mo-update [wesnoth-sof-ja]: Creating mo file. [ 37%] mo-update [wesnoth-sota-ja]: Creating mo file. [ 37%] mo-update [wesnoth-sotbe-ja]: Creating mo file. [ 37%] mo-update [wesnoth-tb-ja]: Creating mo file. [ 37%] mo-update [wesnoth-thot-ja]: Creating mo file. [ 37%] mo-update [wesnoth-trow-ja]: Creating mo file. [ 37%] mo-update [wesnoth-tsg-ja]: Creating mo file. [ 37%] mo-update [wesnoth-tutorial-ja]: Creating mo file. [ 37%] mo-update [wesnoth-units-ja]: Creating mo file. [ 37%] mo-update [wesnoth-utbs-ja]: Creating mo file. [ 37%] mo-update [wesnoth-wc-ja]: Creating mo file. [ 37%] mo-update [wesnoth-ja]: Creating mo file. [ 37%] mo-update [wesnoth-anl-ko]: Creating mo file. [ 37%] mo-update [wesnoth-did-ko]: Creating mo file. [ 37%] mo-update [wesnoth-dm-ko]: Creating mo file. [ 37%] mo-update [wesnoth-dw-ko]: Creating mo file. [ 38%] mo-update [wesnoth-editor-ko]: Creating mo file. [ 38%] mo-update [wesnoth-ei-ko]: Creating mo file. [ 38%] mo-update [wesnoth-help-ko]: Creating mo file. [ 38%] mo-update [wesnoth-httt-ko]: Creating mo file. [ 38%] mo-update [wesnoth-l-ko]: Creating mo file. [ 38%] mo-update [wesnoth-lib-ko]: Creating mo file. [ 38%] mo-update [wesnoth-low-ko]: Creating mo file. [ 38%] mo-update [wesnoth-manpages-ko]: Creating mo file. [ 38%] mo-update [wesnoth-manual-ko]: Creating mo file. [ 38%] mo-update [wesnoth-multiplayer-ko]: Creating mo file. [ 38%] mo-update [wesnoth-nr-ko]: Creating mo file. [ 38%] mo-update [wesnoth-sof-ko]: Creating mo file. [ 38%] mo-update [wesnoth-sota-ko]: Creating mo file. [ 38%] mo-update [wesnoth-sotbe-ko]: Creating mo file. [ 38%] mo-update [wesnoth-tb-ko]: Creating mo file. [ 38%] mo-update [wesnoth-thot-ko]: Creating mo file. [ 38%] mo-update [wesnoth-trow-ko]: Creating mo file. [ 38%] mo-update [wesnoth-tsg-ko]: Creating mo file. [ 38%] mo-update [wesnoth-tutorial-ko]: Creating mo file. [ 38%] mo-update [wesnoth-units-ko]: Creating mo file. [ 38%] mo-update [wesnoth-utbs-ko]: Creating mo file. [ 39%] mo-update [wesnoth-wc-ko]: Creating mo file. [ 39%] mo-update [wesnoth-ko]: Creating mo file. [ 39%] mo-update [wesnoth-anl-la]: Creating mo file. [ 39%] mo-update [wesnoth-did-la]: Creating mo file. [ 39%] mo-update [wesnoth-dm-la]: Creating mo file. [ 39%] mo-update [wesnoth-dw-la]: Creating mo file. [ 39%] mo-update [wesnoth-editor-la]: Creating mo file. [ 39%] mo-update [wesnoth-ei-la]: Creating mo file. [ 39%] mo-update [wesnoth-help-la]: Creating mo file. [ 39%] mo-update [wesnoth-httt-la]: Creating mo file. [ 39%] mo-update [wesnoth-l-la]: Creating mo file. [ 39%] mo-update [wesnoth-lib-la]: Creating mo file. [ 39%] mo-update [wesnoth-low-la]: Creating mo file. [ 39%] mo-update [wesnoth-manpages-la]: Creating mo file. [ 39%] mo-update [wesnoth-manual-la]: Creating mo file. [ 39%] mo-update [wesnoth-multiplayer-la]: Creating mo file. [ 39%] mo-update [wesnoth-nr-la]: Creating mo file. [ 39%] mo-update [wesnoth-sof-la]: Creating mo file. [ 39%] mo-update [wesnoth-sota-la]: Creating mo file. [ 39%] mo-update [wesnoth-sotbe-la]: Creating mo file. [ 39%] mo-update [wesnoth-tb-la]: Creating mo file. [ 39%] mo-update [wesnoth-thot-la]: Creating mo file. [ 40%] mo-update [wesnoth-trow-la]: Creating mo file. [ 40%] mo-update [wesnoth-tsg-la]: Creating mo file. [ 40%] mo-update [wesnoth-tutorial-la]: Creating mo file. [ 40%] mo-update [wesnoth-units-la]: Creating mo file. [ 40%] mo-update [wesnoth-utbs-la]: Creating mo file. [ 40%] mo-update [wesnoth-wc-la]: Creating mo file. [ 40%] mo-update [wesnoth-la]: Creating mo file. [ 40%] mo-update [wesnoth-anl-lt]: Creating mo file. [ 40%] mo-update [wesnoth-did-lt]: Creating mo file. [ 40%] mo-update [wesnoth-dm-lt]: Creating mo file. [ 40%] mo-update [wesnoth-dw-lt]: Creating mo file. [ 40%] mo-update [wesnoth-editor-lt]: Creating mo file. [ 40%] mo-update [wesnoth-ei-lt]: Creating mo file. [ 40%] mo-update [wesnoth-help-lt]: Creating mo file. [ 40%] mo-update [wesnoth-httt-lt]: Creating mo file. [ 40%] mo-update [wesnoth-l-lt]: Creating mo file. [ 40%] mo-update [wesnoth-lib-lt]: Creating mo file. [ 40%] mo-update [wesnoth-low-lt]: Creating mo file. [ 40%] mo-update [wesnoth-manpages-lt]: Creating mo file. [ 40%] mo-update [wesnoth-manual-lt]: Creating mo file. [ 40%] mo-update [wesnoth-multiplayer-lt]: Creating mo file. [ 41%] mo-update [wesnoth-nr-lt]: Creating mo file. [ 41%] mo-update [wesnoth-sof-lt]: Creating mo file. [ 41%] mo-update [wesnoth-sota-lt]: Creating mo file. [ 41%] mo-update [wesnoth-sotbe-lt]: Creating mo file. [ 41%] mo-update [wesnoth-tb-lt]: Creating mo file. [ 41%] mo-update [wesnoth-thot-lt]: Creating mo file. [ 41%] mo-update [wesnoth-trow-lt]: Creating mo file. [ 41%] mo-update [wesnoth-tsg-lt]: Creating mo file. [ 41%] mo-update [wesnoth-tutorial-lt]: Creating mo file. [ 41%] mo-update [wesnoth-units-lt]: Creating mo file. [ 41%] mo-update [wesnoth-utbs-lt]: Creating mo file. [ 41%] mo-update [wesnoth-wc-lt]: Creating mo file. [ 41%] mo-update [wesnoth-lt]: Creating mo file. [ 41%] mo-update [wesnoth-anl-lv]: Creating mo file. [ 41%] mo-update [wesnoth-did-lv]: Creating mo file. [ 41%] mo-update [wesnoth-dm-lv]: Creating mo file. [ 41%] mo-update [wesnoth-dw-lv]: Creating mo file. [ 41%] mo-update [wesnoth-editor-lv]: Creating mo file. [ 41%] mo-update [wesnoth-ei-lv]: Creating mo file. [ 41%] mo-update [wesnoth-help-lv]: Creating mo file. [ 41%] mo-update [wesnoth-httt-lv]: Creating mo file. [ 41%] mo-update [wesnoth-l-lv]: Creating mo file. [ 42%] mo-update [wesnoth-lib-lv]: Creating mo file. [ 42%] mo-update [wesnoth-low-lv]: Creating mo file. [ 42%] mo-update [wesnoth-manpages-lv]: Creating mo file. [ 42%] mo-update [wesnoth-manual-lv]: Creating mo file. [ 42%] mo-update [wesnoth-multiplayer-lv]: Creating mo file. [ 42%] mo-update [wesnoth-nr-lv]: Creating mo file. [ 42%] mo-update [wesnoth-sof-lv]: Creating mo file. [ 42%] mo-update [wesnoth-sota-lv]: Creating mo file. [ 42%] mo-update [wesnoth-sotbe-lv]: Creating mo file. [ 42%] mo-update [wesnoth-tb-lv]: Creating mo file. [ 42%] mo-update [wesnoth-thot-lv]: Creating mo file. [ 42%] mo-update [wesnoth-trow-lv]: Creating mo file. [ 42%] mo-update [wesnoth-tsg-lv]: Creating mo file. [ 42%] mo-update [wesnoth-tutorial-lv]: Creating mo file. [ 42%] mo-update [wesnoth-units-lv]: Creating mo file. [ 42%] mo-update [wesnoth-utbs-lv]: Creating mo file. [ 42%] mo-update [wesnoth-wc-lv]: Creating mo file. [ 42%] mo-update [wesnoth-lv]: Creating mo file. [ 42%] mo-update [wesnoth-anl-mk]: Creating mo file. [ 42%] mo-update [wesnoth-did-mk]: Creating mo file. [ 42%] mo-update [wesnoth-dm-mk]: Creating mo file. [ 43%] mo-update [wesnoth-dw-mk]: Creating mo file. [ 43%] mo-update [wesnoth-editor-mk]: Creating mo file. [ 43%] mo-update [wesnoth-ei-mk]: Creating mo file. [ 43%] mo-update [wesnoth-help-mk]: Creating mo file. [ 43%] mo-update [wesnoth-httt-mk]: Creating mo file. [ 43%] mo-update [wesnoth-l-mk]: Creating mo file. [ 43%] mo-update [wesnoth-lib-mk]: Creating mo file. [ 43%] mo-update [wesnoth-low-mk]: Creating mo file. [ 43%] mo-update [wesnoth-manpages-mk]: Creating mo file. [ 43%] mo-update [wesnoth-manual-mk]: Creating mo file. [ 43%] mo-update [wesnoth-multiplayer-mk]: Creating mo file. [ 43%] mo-update [wesnoth-nr-mk]: Creating mo file. [ 43%] mo-update [wesnoth-sof-mk]: Creating mo file. [ 43%] mo-update [wesnoth-sota-mk]: Creating mo file. [ 43%] mo-update [wesnoth-sotbe-mk]: Creating mo file. [ 43%] mo-update [wesnoth-tb-mk]: Creating mo file. [ 43%] mo-update [wesnoth-thot-mk]: Creating mo file. [ 43%] mo-update [wesnoth-trow-mk]: Creating mo file. [ 43%] mo-update [wesnoth-tsg-mk]: Creating mo file. [ 43%] mo-update [wesnoth-tutorial-mk]: Creating mo file. [ 43%] mo-update [wesnoth-units-mk]: Creating mo file. [ 43%] mo-update [wesnoth-utbs-mk]: Creating mo file. [ 44%] mo-update [wesnoth-wc-mk]: Creating mo file. [ 44%] mo-update [wesnoth-mk]: Creating mo file. [ 44%] mo-update [wesnoth-anl-mr]: Creating mo file. [ 44%] mo-update [wesnoth-did-mr]: Creating mo file. [ 44%] mo-update [wesnoth-dm-mr]: Creating mo file. [ 44%] mo-update [wesnoth-dw-mr]: Creating mo file. [ 44%] mo-update [wesnoth-editor-mr]: Creating mo file. [ 44%] mo-update [wesnoth-ei-mr]: Creating mo file. [ 44%] mo-update [wesnoth-help-mr]: Creating mo file. [ 44%] mo-update [wesnoth-httt-mr]: Creating mo file. [ 44%] mo-update [wesnoth-l-mr]: Creating mo file. [ 44%] mo-update [wesnoth-lib-mr]: Creating mo file. [ 44%] mo-update [wesnoth-low-mr]: Creating mo file. [ 44%] mo-update [wesnoth-manpages-mr]: Creating mo file. [ 44%] mo-update [wesnoth-manual-mr]: Creating mo file. [ 44%] mo-update [wesnoth-multiplayer-mr]: Creating mo file. [ 44%] mo-update [wesnoth-nr-mr]: Creating mo file. [ 44%] mo-update [wesnoth-sof-mr]: Creating mo file. [ 44%] mo-update [wesnoth-sota-mr]: Creating mo file. [ 44%] mo-update [wesnoth-sotbe-mr]: Creating mo file. [ 44%] mo-update [wesnoth-tb-mr]: Creating mo file. [ 45%] mo-update [wesnoth-thot-mr]: Creating mo file. [ 45%] mo-update [wesnoth-trow-mr]: Creating mo file. [ 45%] mo-update [wesnoth-tsg-mr]: Creating mo file. [ 45%] mo-update [wesnoth-tutorial-mr]: Creating mo file. [ 45%] mo-update [wesnoth-units-mr]: Creating mo file. [ 45%] mo-update [wesnoth-utbs-mr]: Creating mo file. [ 45%] mo-update [wesnoth-wc-mr]: Creating mo file. [ 45%] mo-update [wesnoth-mr]: Creating mo file. [ 45%] mo-update [wesnoth-anl-my]: Creating mo file. [ 45%] mo-update [wesnoth-did-my]: Creating mo file. [ 45%] mo-update [wesnoth-dm-my]: Creating mo file. [ 45%] mo-update [wesnoth-dw-my]: Creating mo file. [ 45%] mo-update [wesnoth-editor-my]: Creating mo file. [ 45%] mo-update [wesnoth-ei-my]: Creating mo file. [ 45%] mo-update [wesnoth-help-my]: Creating mo file. [ 45%] mo-update [wesnoth-httt-my]: Creating mo file. [ 45%] mo-update [wesnoth-l-my]: Creating mo file. [ 45%] mo-update [wesnoth-lib-my]: Creating mo file. [ 45%] mo-update [wesnoth-low-my]: Creating mo file. [ 45%] mo-update [wesnoth-manpages-my]: Creating mo file. [ 45%] mo-update [wesnoth-manual-my]: Creating mo file. [ 45%] mo-update [wesnoth-multiplayer-my]: Creating mo file. [ 46%] mo-update [wesnoth-nr-my]: Creating mo file. [ 46%] mo-update [wesnoth-sof-my]: Creating mo file. [ 46%] mo-update [wesnoth-sota-my]: Creating mo file. [ 46%] mo-update [wesnoth-sotbe-my]: Creating mo file. [ 46%] mo-update [wesnoth-tb-my]: Creating mo file. [ 46%] mo-update [wesnoth-thot-my]: Creating mo file. [ 46%] mo-update [wesnoth-trow-my]: Creating mo file. [ 46%] mo-update [wesnoth-tsg-my]: Creating mo file. [ 46%] mo-update [wesnoth-tutorial-my]: Creating mo file. [ 46%] mo-update [wesnoth-units-my]: Creating mo file. [ 46%] mo-update [wesnoth-utbs-my]: Creating mo file. [ 46%] mo-update [wesnoth-wc-my]: Creating mo file. [ 46%] mo-update [wesnoth-my]: Creating mo file. [ 46%] mo-update [wesnoth-anl-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-did-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-dm-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-dw-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-editor-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-ei-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-help-nb_NO]: Creating mo file. [ 46%] mo-update [wesnoth-httt-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-l-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-lib-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-low-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-manpages-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-manual-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-multiplayer-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-nr-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-sof-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-sota-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-sotbe-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-tb-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-thot-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-trow-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-tsg-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-tutorial-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-units-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-utbs-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-wc-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-nb_NO]: Creating mo file. [ 47%] mo-update [wesnoth-anl-nl]: Creating mo file. [ 47%] mo-update [wesnoth-did-nl]: Creating mo file. [ 47%] mo-update [wesnoth-dm-nl]: Creating mo file. [ 48%] mo-update [wesnoth-dw-nl]: Creating mo file. [ 48%] mo-update [wesnoth-editor-nl]: Creating mo file. [ 48%] mo-update [wesnoth-ei-nl]: Creating mo file. [ 48%] mo-update [wesnoth-help-nl]: Creating mo file. [ 48%] mo-update [wesnoth-httt-nl]: Creating mo file. [ 48%] mo-update [wesnoth-l-nl]: Creating mo file. [ 48%] mo-update [wesnoth-lib-nl]: Creating mo file. [ 48%] mo-update [wesnoth-low-nl]: Creating mo file. [ 48%] mo-update [wesnoth-manpages-nl]: Creating mo file. [ 48%] mo-update [wesnoth-manual-nl]: Creating mo file. [ 48%] mo-update [wesnoth-multiplayer-nl]: Creating mo file. [ 48%] mo-update [wesnoth-nr-nl]: Creating mo file. [ 48%] mo-update [wesnoth-sof-nl]: Creating mo file. [ 48%] mo-update [wesnoth-sota-nl]: Creating mo file. [ 48%] mo-update [wesnoth-sotbe-nl]: Creating mo file. [ 48%] mo-update [wesnoth-tb-nl]: Creating mo file. [ 48%] mo-update [wesnoth-thot-nl]: Creating mo file. [ 48%] mo-update [wesnoth-trow-nl]: Creating mo file. [ 48%] mo-update [wesnoth-tsg-nl]: Creating mo file. [ 48%] mo-update [wesnoth-tutorial-nl]: Creating mo file. [ 48%] mo-update [wesnoth-units-nl]: Creating mo file. [ 49%] mo-update [wesnoth-utbs-nl]: Creating mo file. [ 49%] mo-update [wesnoth-wc-nl]: Creating mo file. [ 49%] mo-update [wesnoth-nl]: Creating mo file. [ 49%] mo-update [wesnoth-anl-pl]: Creating mo file. [ 49%] mo-update [wesnoth-did-pl]: Creating mo file. [ 49%] mo-update [wesnoth-dm-pl]: Creating mo file. [ 49%] mo-update [wesnoth-dw-pl]: Creating mo file. [ 49%] mo-update [wesnoth-editor-pl]: Creating mo file. [ 49%] mo-update [wesnoth-ei-pl]: Creating mo file. [ 49%] mo-update [wesnoth-help-pl]: Creating mo file. [ 49%] mo-update [wesnoth-httt-pl]: Creating mo file. [ 49%] mo-update [wesnoth-l-pl]: Creating mo file. [ 49%] mo-update [wesnoth-lib-pl]: Creating mo file. [ 49%] mo-update [wesnoth-low-pl]: Creating mo file. [ 49%] mo-update [wesnoth-manpages-pl]: Creating mo file. [ 49%] mo-update [wesnoth-manual-pl]: Creating mo file. [ 49%] mo-update [wesnoth-multiplayer-pl]: Creating mo file. [ 49%] mo-update [wesnoth-nr-pl]: Creating mo file. [ 49%] mo-update [wesnoth-sof-pl]: Creating mo file. [ 49%] mo-update [wesnoth-sota-pl]: Creating mo file. [ 49%] mo-update [wesnoth-sotbe-pl]: Creating mo file. [ 50%] mo-update [wesnoth-tb-pl]: Creating mo file. [ 50%] mo-update [wesnoth-thot-pl]: Creating mo file. [ 50%] mo-update [wesnoth-trow-pl]: Creating mo file. [ 50%] mo-update [wesnoth-tsg-pl]: Creating mo file. [ 50%] mo-update [wesnoth-tutorial-pl]: Creating mo file. [ 50%] mo-update [wesnoth-units-pl]: Creating mo file. [ 50%] mo-update [wesnoth-utbs-pl]: Creating mo file. [ 50%] mo-update [wesnoth-wc-pl]: Creating mo file. [ 50%] mo-update [wesnoth-pl]: Creating mo file. [ 50%] mo-update [wesnoth-anl-pt]: Creating mo file. [ 50%] mo-update [wesnoth-did-pt]: Creating mo file. [ 50%] mo-update [wesnoth-dm-pt]: Creating mo file. [ 50%] mo-update [wesnoth-dw-pt]: Creating mo file. [ 50%] mo-update [wesnoth-editor-pt]: Creating mo file. [ 50%] mo-update [wesnoth-ei-pt]: Creating mo file. [ 50%] mo-update [wesnoth-help-pt]: Creating mo file. [ 50%] mo-update [wesnoth-httt-pt]: Creating mo file. [ 50%] mo-update [wesnoth-l-pt]: Creating mo file. [ 50%] mo-update [wesnoth-lib-pt]: Creating mo file. [ 50%] mo-update [wesnoth-low-pt]: Creating mo file. [ 50%] mo-update [wesnoth-manpages-pt]: Creating mo file. [ 50%] mo-update [wesnoth-manual-pt]: Creating mo file. [ 51%] mo-update [wesnoth-multiplayer-pt]: Creating mo file. [ 51%] mo-update [wesnoth-nr-pt]: Creating mo file. [ 51%] mo-update [wesnoth-sof-pt]: Creating mo file. [ 51%] mo-update [wesnoth-sota-pt]: Creating mo file. [ 51%] mo-update [wesnoth-sotbe-pt]: Creating mo file. [ 51%] mo-update [wesnoth-tb-pt]: Creating mo file. [ 51%] mo-update [wesnoth-thot-pt]: Creating mo file. [ 51%] mo-update [wesnoth-trow-pt]: Creating mo file. [ 51%] mo-update [wesnoth-tsg-pt]: Creating mo file. [ 51%] mo-update [wesnoth-tutorial-pt]: Creating mo file. [ 51%] mo-update [wesnoth-units-pt]: Creating mo file. [ 51%] mo-update [wesnoth-utbs-pt]: Creating mo file. [ 51%] mo-update [wesnoth-wc-pt]: Creating mo file. [ 51%] mo-update [wesnoth-pt]: Creating mo file. [ 51%] mo-update [wesnoth-anl-pt_BR]: Creating mo file. [ 51%] mo-update [wesnoth-did-pt_BR]: Creating mo file. [ 51%] mo-update [wesnoth-dm-pt_BR]: Creating mo file. [ 51%] mo-update [wesnoth-dw-pt_BR]: Creating mo file. [ 51%] mo-update [wesnoth-editor-pt_BR]: Creating mo file. [ 51%] mo-update [wesnoth-ei-pt_BR]: Creating mo file. [ 51%] mo-update [wesnoth-help-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-httt-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-l-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-lib-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-low-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-manpages-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-manual-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-multiplayer-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-nr-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-sof-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-sota-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-sotbe-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-tb-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-thot-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-trow-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-tsg-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-tutorial-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-units-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-utbs-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-wc-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-pt_BR]: Creating mo file. [ 52%] mo-update [wesnoth-anl-racv]: Creating mo file. [ 52%] mo-update [wesnoth-did-racv]: Creating mo file. [ 53%] mo-update [wesnoth-dm-racv]: Creating mo file. [ 53%] mo-update [wesnoth-dw-racv]: Creating mo file. [ 53%] mo-update [wesnoth-editor-racv]: Creating mo file. [ 53%] mo-update [wesnoth-ei-racv]: Creating mo file. [ 53%] mo-update [wesnoth-help-racv]: Creating mo file. [ 53%] mo-update [wesnoth-httt-racv]: Creating mo file. [ 53%] mo-update [wesnoth-l-racv]: Creating mo file. [ 53%] mo-update [wesnoth-lib-racv]: Creating mo file. [ 53%] mo-update [wesnoth-low-racv]: Creating mo file. [ 53%] mo-update [wesnoth-manpages-racv]: Creating mo file. [ 53%] mo-update [wesnoth-manual-racv]: Creating mo file. [ 53%] mo-update [wesnoth-multiplayer-racv]: Creating mo file. [ 53%] mo-update [wesnoth-nr-racv]: Creating mo file. [ 53%] mo-update [wesnoth-sof-racv]: Creating mo file. [ 53%] mo-update [wesnoth-sota-racv]: Creating mo file. [ 53%] mo-update [wesnoth-sotbe-racv]: Creating mo file. [ 53%] mo-update [wesnoth-tb-racv]: Creating mo file. [ 53%] mo-update [wesnoth-thot-racv]: Creating mo file. [ 53%] mo-update [wesnoth-trow-racv]: Creating mo file. [ 53%] mo-update [wesnoth-tsg-racv]: Creating mo file. [ 53%] mo-update [wesnoth-tutorial-racv]: Creating mo file. [ 54%] mo-update [wesnoth-units-racv]: Creating mo file. [ 54%] mo-update [wesnoth-utbs-racv]: Creating mo file. [ 54%] mo-update [wesnoth-wc-racv]: Creating mo file. [ 54%] mo-update [wesnoth-racv]: Creating mo file. [ 54%] mo-update [wesnoth-anl-ro]: Creating mo file. [ 54%] mo-update [wesnoth-did-ro]: Creating mo file. [ 54%] mo-update [wesnoth-dm-ro]: Creating mo file. [ 54%] mo-update [wesnoth-dw-ro]: Creating mo file. [ 54%] mo-update [wesnoth-editor-ro]: Creating mo file. [ 54%] mo-update [wesnoth-ei-ro]: Creating mo file. [ 54%] mo-update [wesnoth-help-ro]: Creating mo file. [ 54%] mo-update [wesnoth-httt-ro]: Creating mo file. [ 54%] mo-update [wesnoth-l-ro]: Creating mo file. [ 54%] mo-update [wesnoth-lib-ro]: Creating mo file. [ 54%] mo-update [wesnoth-low-ro]: Creating mo file. [ 54%] mo-update [wesnoth-manpages-ro]: Creating mo file. [ 54%] mo-update [wesnoth-manual-ro]: Creating mo file. [ 54%] mo-update [wesnoth-multiplayer-ro]: Creating mo file. [ 54%] mo-update [wesnoth-nr-ro]: Creating mo file. [ 54%] mo-update [wesnoth-sof-ro]: Creating mo file. [ 54%] mo-update [wesnoth-sota-ro]: Creating mo file. [ 54%] mo-update [wesnoth-sotbe-ro]: Creating mo file. [ 55%] mo-update [wesnoth-tb-ro]: Creating mo file. [ 55%] mo-update [wesnoth-thot-ro]: Creating mo file. [ 55%] mo-update [wesnoth-trow-ro]: Creating mo file. [ 55%] mo-update [wesnoth-tsg-ro]: Creating mo file. [ 55%] mo-update [wesnoth-tutorial-ro]: Creating mo file. [ 55%] mo-update [wesnoth-units-ro]: Creating mo file. [ 55%] mo-update [wesnoth-utbs-ro]: Creating mo file. [ 55%] mo-update [wesnoth-wc-ro]: Creating mo file. [ 55%] mo-update [wesnoth-ro]: Creating mo file. [ 55%] mo-update [wesnoth-anl-ru]: Creating mo file. [ 55%] mo-update [wesnoth-did-ru]: Creating mo file. [ 55%] mo-update [wesnoth-dm-ru]: Creating mo file. [ 55%] mo-update [wesnoth-dw-ru]: Creating mo file. [ 55%] mo-update [wesnoth-editor-ru]: Creating mo file. [ 55%] mo-update [wesnoth-ei-ru]: Creating mo file. [ 55%] mo-update [wesnoth-help-ru]: Creating mo file. [ 55%] mo-update [wesnoth-httt-ru]: Creating mo file. [ 55%] mo-update [wesnoth-l-ru]: Creating mo file. [ 55%] mo-update [wesnoth-lib-ru]: Creating mo file. [ 55%] mo-update [wesnoth-low-ru]: Creating mo file. [ 55%] mo-update [wesnoth-manpages-ru]: Creating mo file. [ 56%] mo-update [wesnoth-manual-ru]: Creating mo file. [ 56%] mo-update [wesnoth-multiplayer-ru]: Creating mo file. [ 56%] mo-update [wesnoth-nr-ru]: Creating mo file. [ 56%] mo-update [wesnoth-sof-ru]: Creating mo file. [ 56%] mo-update [wesnoth-sota-ru]: Creating mo file. [ 56%] mo-update [wesnoth-sotbe-ru]: Creating mo file. [ 56%] mo-update [wesnoth-tb-ru]: Creating mo file. [ 56%] mo-update [wesnoth-thot-ru]: Creating mo file. [ 56%] mo-update [wesnoth-trow-ru]: Creating mo file. [ 56%] mo-update [wesnoth-tsg-ru]: Creating mo file. [ 56%] mo-update [wesnoth-tutorial-ru]: Creating mo file. [ 56%] mo-update [wesnoth-units-ru]: Creating mo file. [ 56%] mo-update [wesnoth-utbs-ru]: Creating mo file. [ 56%] mo-update [wesnoth-wc-ru]: Creating mo file. [ 56%] mo-update [wesnoth-ru]: Creating mo file. [ 56%] mo-update [wesnoth-anl-sk]: Creating mo file. [ 56%] mo-update [wesnoth-did-sk]: Creating mo file. [ 56%] mo-update [wesnoth-dm-sk]: Creating mo file. [ 56%] mo-update [wesnoth-dw-sk]: Creating mo file. [ 56%] mo-update [wesnoth-editor-sk]: Creating mo file. [ 56%] mo-update [wesnoth-ei-sk]: Creating mo file. [ 56%] mo-update [wesnoth-help-sk]: Creating mo file. [ 57%] mo-update [wesnoth-httt-sk]: Creating mo file. [ 57%] mo-update [wesnoth-l-sk]: Creating mo file. [ 57%] mo-update [wesnoth-lib-sk]: Creating mo file. [ 57%] mo-update [wesnoth-low-sk]: Creating mo file. [ 57%] mo-update [wesnoth-manpages-sk]: Creating mo file. [ 57%] mo-update [wesnoth-manual-sk]: Creating mo file. [ 57%] mo-update [wesnoth-multiplayer-sk]: Creating mo file. [ 57%] mo-update [wesnoth-nr-sk]: Creating mo file. [ 57%] mo-update [wesnoth-sof-sk]: Creating mo file. [ 57%] mo-update [wesnoth-sota-sk]: Creating mo file. [ 57%] mo-update [wesnoth-sotbe-sk]: Creating mo file. [ 57%] mo-update [wesnoth-tb-sk]: Creating mo file. [ 57%] mo-update [wesnoth-thot-sk]: Creating mo file. [ 57%] mo-update [wesnoth-trow-sk]: Creating mo file. [ 57%] mo-update [wesnoth-tsg-sk]: Creating mo file. [ 57%] mo-update [wesnoth-tutorial-sk]: Creating mo file. [ 57%] mo-update [wesnoth-units-sk]: Creating mo file. [ 57%] mo-update [wesnoth-utbs-sk]: Creating mo file. [ 57%] mo-update [wesnoth-wc-sk]: Creating mo file. [ 57%] mo-update [wesnoth-sk]: Creating mo file. [ 57%] mo-update [wesnoth-anl-sl]: Creating mo file. [ 58%] mo-update [wesnoth-did-sl]: Creating mo file. [ 58%] mo-update [wesnoth-dm-sl]: Creating mo file. [ 58%] mo-update [wesnoth-dw-sl]: Creating mo file. [ 58%] mo-update [wesnoth-editor-sl]: Creating mo file. [ 58%] mo-update [wesnoth-ei-sl]: Creating mo file. [ 58%] mo-update [wesnoth-help-sl]: Creating mo file. [ 58%] mo-update [wesnoth-httt-sl]: Creating mo file. [ 58%] mo-update [wesnoth-l-sl]: Creating mo file. [ 58%] mo-update [wesnoth-lib-sl]: Creating mo file. [ 58%] mo-update [wesnoth-low-sl]: Creating mo file. [ 58%] mo-update [wesnoth-manpages-sl]: Creating mo file. [ 58%] mo-update [wesnoth-manual-sl]: Creating mo file. [ 58%] mo-update [wesnoth-multiplayer-sl]: Creating mo file. [ 58%] mo-update [wesnoth-nr-sl]: Creating mo file. [ 58%] mo-update [wesnoth-sof-sl]: Creating mo file. [ 58%] mo-update [wesnoth-sota-sl]: Creating mo file. [ 58%] mo-update [wesnoth-sotbe-sl]: Creating mo file. [ 58%] mo-update [wesnoth-tb-sl]: Creating mo file. [ 58%] mo-update [wesnoth-thot-sl]: Creating mo file. [ 58%] mo-update [wesnoth-trow-sl]: Creating mo file. [ 58%] mo-update [wesnoth-tsg-sl]: Creating mo file. [ 58%] mo-update [wesnoth-tutorial-sl]: Creating mo file. [ 59%] mo-update [wesnoth-units-sl]: Creating mo file. [ 59%] mo-update [wesnoth-utbs-sl]: Creating mo file. [ 59%] mo-update [wesnoth-wc-sl]: Creating mo file. [ 59%] mo-update [wesnoth-sl]: Creating mo file. [ 59%] mo-update [wesnoth-anl-sr]: Creating mo file. [ 59%] mo-update [wesnoth-did-sr]: Creating mo file. [ 59%] mo-update [wesnoth-dm-sr]: Creating mo file. [ 59%] mo-update [wesnoth-dw-sr]: Creating mo file. [ 59%] mo-update [wesnoth-editor-sr]: Creating mo file. [ 59%] mo-update [wesnoth-ei-sr]: Creating mo file. [ 59%] mo-update [wesnoth-help-sr]: Creating mo file. [ 59%] mo-update [wesnoth-httt-sr]: Creating mo file. [ 59%] mo-update [wesnoth-l-sr]: Creating mo file. [ 59%] mo-update [wesnoth-lib-sr]: Creating mo file. [ 59%] mo-update [wesnoth-low-sr]: Creating mo file. [ 59%] mo-update [wesnoth-manpages-sr]: Creating mo file. [ 59%] mo-update [wesnoth-manual-sr]: Creating mo file. [ 59%] mo-update [wesnoth-multiplayer-sr]: Creating mo file. [ 59%] mo-update [wesnoth-nr-sr]: Creating mo file. [ 59%] mo-update [wesnoth-sof-sr]: Creating mo file. [ 59%] mo-update [wesnoth-sota-sr]: Creating mo file. [ 60%] mo-update [wesnoth-sotbe-sr]: Creating mo file. [ 60%] mo-update [wesnoth-tb-sr]: Creating mo file. [ 60%] mo-update [wesnoth-thot-sr]: Creating mo file. [ 60%] mo-update [wesnoth-trow-sr]: Creating mo file. [ 60%] mo-update [wesnoth-tsg-sr]: Creating mo file. [ 60%] mo-update [wesnoth-tutorial-sr]: Creating mo file. [ 60%] mo-update [wesnoth-units-sr]: Creating mo file. [ 60%] mo-update [wesnoth-utbs-sr]: Creating mo file. [ 60%] mo-update [wesnoth-wc-sr]: Creating mo file. [ 60%] mo-update [wesnoth-sr]: Creating mo file. [ 60%] mo-update [wesnoth-anl-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-did-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-dm-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-dw-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-editor-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-ei-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-help-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-httt-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-l-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-lib-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-low-sr@ijekavian]: Creating mo file. [ 60%] mo-update [wesnoth-manpages-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-manual-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-multiplayer-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-nr-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-sof-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-sota-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-sotbe-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-tb-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-thot-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-trow-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-tsg-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-tutorial-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-units-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-utbs-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-wc-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-sr@ijekavian]: Creating mo file. [ 61%] mo-update [wesnoth-anl-sr@ijekavianlatin]: Creating mo file. [ 61%] mo-update [wesnoth-did-sr@ijekavianlatin]: Creating mo file. [ 61%] mo-update [wesnoth-dm-sr@ijekavianlatin]: Creating mo file. [ 61%] mo-update [wesnoth-dw-sr@ijekavianlatin]: Creating mo file. [ 61%] mo-update [wesnoth-editor-sr@ijekavianlatin]: Creating mo file. [ 61%] mo-update [wesnoth-ei-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-help-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-httt-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-l-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-lib-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-low-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-manpages-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-manual-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-multiplayer-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-nr-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-sof-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-sota-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-sotbe-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-tb-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-thot-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-trow-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-tsg-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-tutorial-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-units-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-utbs-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-wc-sr@ijekavianlatin]: Creating mo file. [ 62%] mo-update [wesnoth-sr@ijekavianlatin]: Creating mo file. [ 63%] mo-update [wesnoth-anl-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-did-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-dm-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-dw-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-editor-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-ei-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-help-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-httt-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-l-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-lib-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-low-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-manpages-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-manual-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-multiplayer-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-nr-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-sof-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-sota-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-sotbe-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-tb-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-thot-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-trow-sr@latin]: Creating mo file. [ 63%] mo-update [wesnoth-tsg-sr@latin]: Creating mo file. [ 64%] mo-update [wesnoth-tutorial-sr@latin]: Creating mo file. [ 64%] mo-update [wesnoth-units-sr@latin]: Creating mo file. [ 64%] mo-update [wesnoth-utbs-sr@latin]: Creating mo file. [ 64%] mo-update [wesnoth-wc-sr@latin]: Creating mo file. [ 64%] mo-update [wesnoth-sr@latin]: Creating mo file. [ 64%] mo-update [wesnoth-anl-sv]: Creating mo file. [ 64%] mo-update [wesnoth-did-sv]: Creating mo file. [ 64%] mo-update [wesnoth-dm-sv]: Creating mo file. [ 64%] mo-update [wesnoth-dw-sv]: Creating mo file. [ 64%] mo-update [wesnoth-editor-sv]: Creating mo file. [ 64%] mo-update [wesnoth-ei-sv]: Creating mo file. [ 64%] mo-update [wesnoth-help-sv]: Creating mo file. [ 64%] mo-update [wesnoth-httt-sv]: Creating mo file. [ 64%] mo-update [wesnoth-l-sv]: Creating mo file. [ 64%] mo-update [wesnoth-lib-sv]: Creating mo file. [ 64%] mo-update [wesnoth-low-sv]: Creating mo file. [ 64%] mo-update [wesnoth-manpages-sv]: Creating mo file. [ 64%] mo-update [wesnoth-manual-sv]: Creating mo file. [ 64%] mo-update [wesnoth-multiplayer-sv]: Creating mo file. [ 64%] mo-update [wesnoth-nr-sv]: Creating mo file. [ 64%] mo-update [wesnoth-sof-sv]: Creating mo file. [ 65%] mo-update [wesnoth-sota-sv]: Creating mo file. [ 65%] mo-update [wesnoth-sotbe-sv]: Creating mo file. [ 65%] mo-update [wesnoth-tb-sv]: Creating mo file. [ 65%] mo-update [wesnoth-thot-sv]: Creating mo file. [ 65%] mo-update [wesnoth-trow-sv]: Creating mo file. [ 65%] mo-update [wesnoth-tsg-sv]: Creating mo file. [ 65%] mo-update [wesnoth-tutorial-sv]: Creating mo file. [ 65%] mo-update [wesnoth-units-sv]: Creating mo file. [ 65%] mo-update [wesnoth-utbs-sv]: Creating mo file. [ 65%] mo-update [wesnoth-wc-sv]: Creating mo file. [ 65%] mo-update [wesnoth-sv]: Creating mo file. [ 65%] mo-update [wesnoth-anl-tl]: Creating mo file. [ 65%] mo-update [wesnoth-did-tl]: Creating mo file. [ 65%] mo-update [wesnoth-dm-tl]: Creating mo file. [ 65%] mo-update [wesnoth-dw-tl]: Creating mo file. [ 65%] mo-update [wesnoth-editor-tl]: Creating mo file. [ 65%] mo-update [wesnoth-ei-tl]: Creating mo file. [ 65%] mo-update [wesnoth-help-tl]: Creating mo file. [ 65%] mo-update [wesnoth-httt-tl]: Creating mo file. [ 65%] mo-update [wesnoth-l-tl]: Creating mo file. [ 65%] mo-update [wesnoth-lib-tl]: Creating mo file. [ 65%] mo-update [wesnoth-low-tl]: Creating mo file. [ 66%] mo-update [wesnoth-manpages-tl]: Creating mo file. [ 66%] mo-update [wesnoth-manual-tl]: Creating mo file. [ 66%] mo-update [wesnoth-multiplayer-tl]: Creating mo file. [ 66%] mo-update [wesnoth-nr-tl]: Creating mo file. [ 66%] mo-update [wesnoth-sof-tl]: Creating mo file. [ 66%] mo-update [wesnoth-sota-tl]: Creating mo file. [ 66%] mo-update [wesnoth-sotbe-tl]: Creating mo file. [ 66%] mo-update [wesnoth-tb-tl]: Creating mo file. [ 66%] mo-update [wesnoth-thot-tl]: Creating mo file. [ 66%] mo-update [wesnoth-trow-tl]: Creating mo file. [ 66%] mo-update [wesnoth-tsg-tl]: Creating mo file. [ 66%] mo-update [wesnoth-tutorial-tl]: Creating mo file. [ 66%] mo-update [wesnoth-units-tl]: Creating mo file. [ 66%] mo-update [wesnoth-utbs-tl]: Creating mo file. [ 66%] mo-update [wesnoth-wc-tl]: Creating mo file. [ 66%] mo-update [wesnoth-tl]: Creating mo file. [ 66%] mo-update [wesnoth-anl-tr]: Creating mo file. [ 66%] mo-update [wesnoth-did-tr]: Creating mo file. [ 66%] mo-update [wesnoth-dm-tr]: Creating mo file. [ 66%] mo-update [wesnoth-dw-tr]: Creating mo file. [ 66%] mo-update [wesnoth-editor-tr]: Creating mo file. [ 67%] mo-update [wesnoth-ei-tr]: Creating mo file. [ 67%] mo-update [wesnoth-help-tr]: Creating mo file. [ 67%] mo-update [wesnoth-httt-tr]: Creating mo file. [ 67%] mo-update [wesnoth-l-tr]: Creating mo file. [ 67%] mo-update [wesnoth-lib-tr]: Creating mo file. [ 67%] mo-update [wesnoth-low-tr]: Creating mo file. [ 67%] mo-update [wesnoth-manpages-tr]: Creating mo file. [ 67%] mo-update [wesnoth-manual-tr]: Creating mo file. [ 67%] mo-update [wesnoth-multiplayer-tr]: Creating mo file. [ 67%] mo-update [wesnoth-nr-tr]: Creating mo file. [ 67%] mo-update [wesnoth-sof-tr]: Creating mo file. [ 67%] mo-update [wesnoth-sota-tr]: Creating mo file. [ 67%] mo-update [wesnoth-sotbe-tr]: Creating mo file. [ 67%] mo-update [wesnoth-tb-tr]: Creating mo file. [ 67%] mo-update [wesnoth-thot-tr]: Creating mo file. [ 67%] mo-update [wesnoth-trow-tr]: Creating mo file. [ 67%] mo-update [wesnoth-tsg-tr]: Creating mo file. [ 67%] mo-update [wesnoth-tutorial-tr]: Creating mo file. [ 67%] mo-update [wesnoth-units-tr]: Creating mo file. [ 67%] mo-update [wesnoth-utbs-tr]: Creating mo file. [ 67%] mo-update [wesnoth-wc-tr]: Creating mo file. [ 67%] mo-update [wesnoth-tr]: Creating mo file. [ 68%] mo-update [wesnoth-anl-uk]: Creating mo file. [ 68%] mo-update [wesnoth-did-uk]: Creating mo file. [ 68%] mo-update [wesnoth-dm-uk]: Creating mo file. [ 68%] mo-update [wesnoth-dw-uk]: Creating mo file. [ 68%] mo-update [wesnoth-editor-uk]: Creating mo file. [ 68%] mo-update [wesnoth-ei-uk]: Creating mo file. [ 68%] mo-update [wesnoth-help-uk]: Creating mo file. [ 68%] mo-update [wesnoth-httt-uk]: Creating mo file. [ 68%] mo-update [wesnoth-l-uk]: Creating mo file. [ 68%] mo-update [wesnoth-lib-uk]: Creating mo file. [ 68%] mo-update [wesnoth-low-uk]: Creating mo file. [ 68%] mo-update [wesnoth-manpages-uk]: Creating mo file. [ 68%] mo-update [wesnoth-manual-uk]: Creating mo file. [ 68%] mo-update [wesnoth-multiplayer-uk]: Creating mo file. [ 68%] mo-update [wesnoth-nr-uk]: Creating mo file. [ 68%] mo-update [wesnoth-sof-uk]: Creating mo file. [ 68%] mo-update [wesnoth-sota-uk]: Creating mo file. [ 68%] mo-update [wesnoth-sotbe-uk]: Creating mo file. [ 68%] mo-update [wesnoth-tb-uk]: Creating mo file. [ 68%] mo-update [wesnoth-thot-uk]: Creating mo file. [ 68%] mo-update [wesnoth-trow-uk]: Creating mo file. [ 69%] mo-update [wesnoth-tsg-uk]: Creating mo file. [ 69%] mo-update [wesnoth-tutorial-uk]: Creating mo file. [ 69%] mo-update [wesnoth-units-uk]: Creating mo file. [ 69%] mo-update [wesnoth-utbs-uk]: Creating mo file. [ 69%] mo-update [wesnoth-wc-uk]: Creating mo file. [ 69%] mo-update [wesnoth-uk]: Creating mo file. [ 69%] mo-update [wesnoth-anl-vi]: Creating mo file. [ 69%] mo-update [wesnoth-did-vi]: Creating mo file. [ 69%] mo-update [wesnoth-dm-vi]: Creating mo file. [ 69%] mo-update [wesnoth-dw-vi]: Creating mo file. [ 69%] mo-update [wesnoth-editor-vi]: Creating mo file. [ 69%] mo-update [wesnoth-ei-vi]: Creating mo file. [ 69%] mo-update [wesnoth-help-vi]: Creating mo file. [ 69%] mo-update [wesnoth-httt-vi]: Creating mo file. [ 69%] mo-update [wesnoth-l-vi]: Creating mo file. [ 69%] mo-update [wesnoth-lib-vi]: Creating mo file. [ 69%] mo-update [wesnoth-low-vi]: Creating mo file. [ 69%] mo-update [wesnoth-manpages-vi]: Creating mo file. [ 69%] mo-update [wesnoth-manual-vi]: Creating mo file. [ 69%] mo-update [wesnoth-multiplayer-vi]: Creating mo file. [ 69%] mo-update [wesnoth-nr-vi]: Creating mo file. [ 69%] mo-update [wesnoth-sof-vi]: Creating mo file. [ 70%] mo-update [wesnoth-sota-vi]: Creating mo file. [ 70%] mo-update [wesnoth-sotbe-vi]: Creating mo file. [ 70%] mo-update [wesnoth-tb-vi]: Creating mo file. [ 70%] mo-update [wesnoth-thot-vi]: Creating mo file. [ 70%] mo-update [wesnoth-trow-vi]: Creating mo file. [ 70%] mo-update [wesnoth-tsg-vi]: Creating mo file. [ 70%] mo-update [wesnoth-tutorial-vi]: Creating mo file. [ 70%] mo-update [wesnoth-units-vi]: Creating mo file. [ 70%] mo-update [wesnoth-utbs-vi]: Creating mo file. [ 70%] mo-update [wesnoth-wc-vi]: Creating mo file. [ 70%] mo-update [wesnoth-vi]: Creating mo file. [ 70%] mo-update [wesnoth-anl-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-did-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-dm-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-dw-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-editor-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-ei-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-help-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-httt-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-l-zh_CN]: Creating mo file. [ 70%] mo-update [wesnoth-lib-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-low-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-manpages-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-manual-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-multiplayer-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-nr-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-sof-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-sota-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-sotbe-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-tb-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-thot-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-trow-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-tsg-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-tutorial-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-units-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-utbs-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-wc-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-zh_CN]: Creating mo file. [ 71%] mo-update [wesnoth-anl-zh_TW]: Creating mo file. [ 71%] mo-update [wesnoth-did-zh_TW]: Creating mo file. [ 71%] mo-update [wesnoth-dm-zh_TW]: Creating mo file. [ 71%] mo-update [wesnoth-dw-zh_TW]: Creating mo file. [ 71%] mo-update [wesnoth-editor-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-ei-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-help-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-httt-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-l-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-lib-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-low-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-manpages-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-manual-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-multiplayer-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-nr-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-sof-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-sota-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-sotbe-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-tb-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-thot-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-trow-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-tsg-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-tutorial-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-units-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-utbs-zh_TW]: Creating mo file. [ 72%] mo-update [wesnoth-wc-zh_TW]: Creating mo file. [ 73%] mo-update [wesnoth-zh_TW]: Creating mo file. [ 73%] mo-update: Done. [ 73%] Built target mo-update [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/color.cpp.o [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:52, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map/map.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/color_range.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/iter_apply.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/find_if_pred.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/find_if.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/find.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/contains_impl.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/contains.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index_container.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/commandline_argv.cpp.o [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/config.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/config_attribute_value.cpp.o [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/config_cache.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config_cache.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config_cache.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/read.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/non_blocking_adapter.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/close.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/operations.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/mode_adapter.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/resolve.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/push.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/binary_or_text.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config_cache.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:40:39: warning: use of old-style cast to 'int' [-Wold-style-cast] 40 | const int WOULD_BLOCK = (int) (EOF - 1); | ^ | --------------- | static_cast<int> ( (EOF - 1)) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:43:57: warning: use of old-style cast to 'std::wint_t' {aka 'int'} [-Wold-style-cast] 43 | const std::wint_t WWOULD_BLOCK = (std::wint_t) (WEOF - 1); | ^ | - | static_cast<- | > ( ) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream_buffer.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/chain.hpp:34, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::read(char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:74:63: warning: use of old-style cast to 'struct boost::iostreams::basic_null_source<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 74 | { return this->read(s, n, (basic_null_source<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::write(const char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:81:62: warning: use of old-style cast to 'struct boost::iostreams::basic_null_sink<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 81 | { return this->write(s, n, (basic_null_sink<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streampos boost::iostreams::detail::concept_adapter<T>::seek(boost::iostreams::stream_offset, std::ios_base::seekdir, std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:91:70: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 91 | (basic_null_device<char_type, seekable>*) 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'void boost::iostreams::detail::concept_adapter<T>::close(std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:100:68: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 100 | { this->close(which, (basic_null_device<char_type, seekable>*) 0); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::get_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:93:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 93 | this->pbump((int) (delegate().pptr() - delegate().pbase())); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::set_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:99:65: warning: use of old-style cast to 'int' [-Wold-style-cast] 99 | delegate().pbump((int) (this->pptr() - this->pbase())); | ^ [ 73%] Building C object src/CMakeFiles/wesnoth-common.dir/crypt_blowfish/crypt_blowfish.c.o [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/filesystem.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/filesystem.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/filesystem.cpp:33: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/read.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/non_blocking_adapter.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/close.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/functional.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/direct_streambuf.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream_buffer.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/filesystem.cpp:37: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:40:39: warning: use of old-style cast to 'int' [-Wold-style-cast] 40 | const int WOULD_BLOCK = (int) (EOF - 1); | ^ | --------------- | static_cast<int> ( (EOF - 1)) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:43:57: warning: use of old-style cast to 'std::wint_t' {aka 'int'} [-Wold-style-cast] 43 | const std::wint_t WWOULD_BLOCK = (std::wint_t) (WEOF - 1); | ^ | - | static_cast<- | > ( ) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream_buffer.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::read(char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:74:63: warning: use of old-style cast to 'struct boost::iostreams::basic_null_source<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 74 | { return this->read(s, n, (basic_null_source<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::write(const char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:81:62: warning: use of old-style cast to 'struct boost::iostreams::basic_null_sink<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 81 | { return this->write(s, n, (basic_null_sink<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streampos boost::iostreams::detail::concept_adapter<T>::seek(boost::iostreams::stream_offset, std::ios_base::seekdir, std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:91:70: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 91 | (basic_null_device<char_type, seekable>*) 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'void boost::iostreams::detail::concept_adapter<T>::close(std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:100:68: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 100 | { this->close(which, (basic_null_device<char_type, seekable>*) 0); } | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/filesystem_common.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/filesystem_common.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/filesystem_common.cpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/font/constants.cpp.o [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/game_config.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/game_config_view.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/game_version.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/as_literal.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_version.cpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/std_containers_traits.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/gettext.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/boundary/index.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/boundary.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/intrinsic_fwd.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/intrinsic/begin.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/container/list/cons.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/include/cons.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/detail/make_cons.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/make_component.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/meta_compiler.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/meta_compiler.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/action/action.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/action.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/include/qi.hpp:16, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/spirit_po/default_plural_forms_expressions.hpp:25, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/spirit_po/exceptions.hpp:9, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/spirit_po/catalog_metadata.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/spirit_po/catalog.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/spirit_po/spirit_po.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.cpp:35: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/support/is_sequence.hpp:65:45: warning: use of old-style cast to 'bool' [-Wold-style-cast] 65 | >::template apply<T>::type::value | ^~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/intrinsic/begin.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/support/is_segmented.hpp:48:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 48 | template apply<Sequence>::type::value | ^~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, boost::fusion::extension::is_segmented_impl<boost::fusion::iterator_range_tag>::is_segmented_iterator<typename Sequence::begin_type>::value, boost::fusion::extension::is_segmented_impl<boost::fusion::iterator_range_tag>::is_segmented_iterator<typename Sequence::end_type>::value>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp:56:17: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 56 | BOOST_MPL_ASSERT_RELATION( | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/joint_view/joint_view.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/algorithm/transformation/push_back.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/iterator_range/detail/segments_impl.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/iterator_range/iterator_range.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/iterator_range.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/intrinsic/begin.hpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/support/is_view.hpp:69:46: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | template apply<T>::type::value | ^~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/matches.hpp:32, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/phoenix/core/domain.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/phoenix/core/actor.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/make_component.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/detail/template_arity.hpp:50:56: warning: use of old-style cast to 'F**' [-Wold-style-cast] 50 | , sizeof(detail::template_arity_helper((F **)0, (mpl::int_<N> *)0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/detail/template_arity.hpp:50:75: warning: use of old-style cast to 'struct mpl_::int_<N>*' [-Wold-style-cast] 50 | , sizeof(detail::template_arity_helper((F **)0, (mpl::int_<N> *)0)) | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/domain.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/traits.hpp:32, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/matches.hpp:42: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/detail/deduce_domain.hpp:115:84: warning: use of old-style cast to 'struct boost::proto::detail::domain_<D0>*' [-Wold-style-cast] 115 | , int DefaultCase = sizeof(proto::detail::default_test((domain_<D0>*)0, (domain_<D1>*)0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/detail/deduce_domain.hpp:115:101: warning: use of old-style cast to 'struct boost::proto::detail::domain_<D1>*' [-Wold-style-cast] 115 | , int DefaultCase = sizeof(proto::detail::default_test((domain_<D0>*)0, (domain_<D1>*)0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/detail/deduce_domain.hpp:123:70: warning: use of old-style cast to 'struct boost::proto::detail::domain_<D1>*' [-Wold-style-cast] 123 | typedef decltype(domain_<D0>::deduce0x((domain_<D1>*)0)) type; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/detail/deduce_domain.hpp:123:70: warning: use of old-style cast to 'struct boost::proto::detail::domain_<D1>*' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/phoenix/core/actor.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp: In member function 'This& boost::proto::exprns_::virtual_member<This, Fun, Domain>::child0() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:610:42: warning: use of old-style cast to 'char*' [-Wold-style-cast] 610 | return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_)); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:50:67: warning: use of old-style cast to 'This*' [-Wold-style-cast] 50 | # define BOOST_PROTO_OFFSETOF(s,m) (BOOST_PROTO_ADDROF((((s *)this)->m)) - BOOST_PROTO_ADDROF(*((s *)this))) | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:47:76: note: in definition of macro 'BOOST_PROTO_ADDROF' 47 | # define BOOST_PROTO_ADDROF(x) ((char const volatile*)boost::addressof(x)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:610:49: note: in expansion of macro 'BOOST_PROTO_OFFSETOF' 610 | return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:47:77: warning: use of old-style cast to 'const volatile char*' [-Wold-style-cast] 47 | # define BOOST_PROTO_ADDROF(x) ((char const volatile*)boost::addressof(x)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:50:41: note: in expansion of macro 'BOOST_PROTO_ADDROF' 50 | # define BOOST_PROTO_OFFSETOF(s,m) (BOOST_PROTO_ADDROF((((s *)this)->m)) - BOOST_PROTO_ADDROF(*((s *)this))) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:610:49: note: in expansion of macro 'BOOST_PROTO_OFFSETOF' 610 | return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:50:106: warning: use of old-style cast to 'This*' [-Wold-style-cast] 50 | # define BOOST_PROTO_OFFSETOF(s,m) (BOOST_PROTO_ADDROF((((s *)this)->m)) - BOOST_PROTO_ADDROF(*((s *)this))) | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:47:76: note: in definition of macro 'BOOST_PROTO_ADDROF' 47 | # define BOOST_PROTO_ADDROF(x) ((char const volatile*)boost::addressof(x)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:610:49: note: in expansion of macro 'BOOST_PROTO_OFFSETOF' 610 | return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:47:77: warning: use of old-style cast to 'const volatile char*' [-Wold-style-cast] 47 | # define BOOST_PROTO_ADDROF(x) ((char const volatile*)boost::addressof(x)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:50:80: note: in expansion of macro 'BOOST_PROTO_ADDROF' 50 | # define BOOST_PROTO_OFFSETOF(s,m) (BOOST_PROTO_ADDROF((((s *)this)->m)) - BOOST_PROTO_ADDROF(*((s *)this))) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:610:49: note: in expansion of macro 'BOOST_PROTO_OFFSETOF' 610 | return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/proto/extends.hpp:610:102: warning: use of old-style cast to 'This*' [-Wold-style-cast] 610 | return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_)); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/nonterminal/expand_arg.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/context.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/domain.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/meta_compiler.hpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/string_traits.hpp: In static member function 'static const T* boost::spirit::traits::extract_c_string<String>::call(T*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/string_traits.hpp:161:30: warning: use of old-style cast to 'const T*' [-Wold-style-cast] 161 | return (T const*)str; | ^~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/container/vector/vector.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/container/vector/vector10.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/view/transform_view/transform_view.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/algorithm/transformation/transform.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/include/transform.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/context.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/support/detail/and.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/support/detail/and.hpp:43:56: warning: use of old-style cast to 'bool' [-Wold-style-cast] 43 | struct and_ : integral_constant<bool, ((bool)Cond::value && ...)> {}; | ^~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/action/action.hpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'A*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:117:47: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 117 | -> typename fwd_storage<decltype(f(BOOST_SPIRIT_FAKE_CALL(A))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'A*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:117:47: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 117 | -> typename fwd_storage<decltype(f(BOOST_SPIRIT_FAKE_CALL(A))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'A*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:126:32: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 126 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'B*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:126:59: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 126 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'A*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:126:32: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 126 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'B*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:126:59: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 126 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'A*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:135:30: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 135 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'B*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:135:57: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 135 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'C*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:136:23: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 136 | , BOOST_SPIRIT_FAKE_CALL(C))) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'A*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:135:30: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 135 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'B*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:135:57: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 135 | decltype(f(BOOST_SPIRIT_FAKE_CALL(A), BOOST_SPIRIT_FAKE_CALL(B) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:61:41: warning: use of old-style cast to 'C*' [-Wold-style-cast] 61 | #define BOOST_SPIRIT_FAKE_CALL(T) (*(T*)0) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/action_dispatch.hpp:136:23: note: in expansion of macro 'BOOST_SPIRIT_FAKE_CALL' 136 | , BOOST_SPIRIT_FAKE_CALL(C))) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_concepts.hpp:9, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/parse.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/detail/parse_auto.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/auto.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi.hpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/char/char.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/char.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp: In member function 'bool boost::spirit::support::detail::basic_chset_8bit<Char>::test(Char) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp:151:45: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 151 | return bset.test((unsigned char)v); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp: In member function 'void boost::spirit::support::detail::basic_chset_8bit<Char>::set(Char, Char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp:158:41: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 158 | bset.set((unsigned char)i); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp: In member function 'void boost::spirit::support::detail::basic_chset_8bit<Char>::set(Char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp:164:37: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 164 | bset.set((unsigned char)c); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp: In member function 'void boost::spirit::support::detail::basic_chset_8bit<Char>::clear(Char, Char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp:171:43: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 171 | bset.reset((unsigned char)i); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp: In member function 'void boost::spirit::support::detail::basic_chset_8bit<Char>::clear(Char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/support/char_set/basic_chset.hpp:177:39: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 177 | bset.reset((unsigned char)c); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/char/char.hpp: In constructor 'boost::spirit::qi::char_set<CharEncoding, no_attribute, no_case>::char_set(const String&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/char/char.hpp:295:57: warning: use of old-style cast to 'const in_type*' [-Wold-style-cast] 295 | (in_type const*)traits::get_c_string(str); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/char/char.hpp: In constructor 'boost::spirit::qi::char_set<CharEncoding, no_attribute, true>::char_set(const String&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/char/char.hpp:357:59: warning: use of old-style cast to 'const boost::spirit::qi::char_set<CharEncoding, no_attribute, true>::char_type*' [-Wold-style-cast] 357 | (char_type const*)traits::get_c_string(str); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/nonterminal/rule.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/nonterminal.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi.hpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function_types/detail/pp_tags/preprocessed.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function_types/detail/pp_tags/preprocessed.hpp:36:1: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 36 | )); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function_types/detail/pp_tags/preprocessed.hpp:46:12: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 46 | (Bits >> 24) | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/io/detail/out.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/io/out.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/include/out.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/nonterminal/simple_trace.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/spirit/home/qi/nonterminal.hpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/io/detail/manip.hpp: In static member function 'static const T* boost::fusion::detail::stream_data<Stream, Tag, T>::get(Stream&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/fusion/sequence/io/detail/manip.hpp:74:83: warning: use of old-style cast to 'const T*' [-Wold-style-cast] 74 | return (T const*)stream.pword(get_xalloc_index<Tag>(stream.xalloc)); | ^ [ 73%] Building CXX object src/CMakeFiles/wesnoth-common.dir/hash.cpp.o /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp: In constructor 'utils::md5::md5(const std::string&)': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:81:17: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | MD5_Init(&md5_worker); | ~~~~~~~~^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:33: /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:82:19: warning: 'int MD5_Update(MD5_CTX*, const void*, std::size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | MD5_Update(&md5_worker, input.data(), input.size()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:83:18: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 83 | MD5_Final(hash.data(), &md5_worker); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp: In constructor 'utils::sha1::sha1(const std::string&)': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:137:18: warning: 'int SHA1_Init(SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | SHA1_Init(&hasher); | ~~~~~~~~~^~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:138:20: warning: 'int SHA1_Update(SHA_CTX*, const void*, std::size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | SHA1_Update(&hasher, str.data(), str.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hash.cpp:139:19: warning: 'int SHA1_Final(unsigned char*, SHA_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | SHA1_Final(hash.data(), &hasher); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/log.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/lua_jailbreak_exception.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/mt_rng.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/mt_rng.cpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/random.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/seed_rng.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/base64.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/binary_or_text.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/binary_or_text.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/binary_or_text.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/read.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/non_blocking_adapter.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/close.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/operations.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/mode_adapter.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/resolve.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/push.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/binary_or_text.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:40:39: warning: use of old-style cast to 'int' [-Wold-style-cast] 40 | const int WOULD_BLOCK = (int) (EOF - 1); | ^ | --------------- | static_cast<int> ( (EOF - 1)) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:43:57: warning: use of old-style cast to 'std::wint_t' {aka 'int'} [-Wold-style-cast] 43 | const std::wint_t WWOULD_BLOCK = (std::wint_t) (WEOF - 1); | ^ | - | static_cast<- | > ( ) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream_buffer.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/chain.hpp:34, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::read(char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:74:63: warning: use of old-style cast to 'struct boost::iostreams::basic_null_source<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 74 | { return this->read(s, n, (basic_null_source<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::write(const char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:81:62: warning: use of old-style cast to 'struct boost::iostreams::basic_null_sink<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 81 | { return this->write(s, n, (basic_null_sink<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streampos boost::iostreams::detail::concept_adapter<T>::seek(boost::iostreams::stream_offset, std::ios_base::seekdir, std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:91:70: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 91 | (basic_null_device<char_type, seekable>*) 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'void boost::iostreams::detail::concept_adapter<T>::close(std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:100:68: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 100 | { this->close(which, (basic_null_device<char_type, seekable>*) 0); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::get_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:93:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 93 | this->pbump((int) (delegate().pptr() - delegate().pbase())); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::set_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:99:65: warning: use of old-style cast to 'int' [-Wold-style-cast] 99 | delegate().pbump((int) (this->pptr() - this->pbase())); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/parser.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/parser.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/parser.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filter/symmetric.hpp:47, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filter/bzip2.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/parser.cpp:35: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:40:39: warning: use of old-style cast to 'int' [-Wold-style-cast] 40 | const int WOULD_BLOCK = (int) (EOF - 1); | ^ | --------------- | static_cast<int> ( (EOF - 1)) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:43:57: warning: use of old-style cast to 'std::wint_t' {aka 'int'} [-Wold-style-cast] 43 | const std::wint_t WWOULD_BLOCK = (std::wint_t) (WEOF - 1); | ^ | - | static_cast<- | > ( ) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream_buffer.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/chain.hpp:34, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/parser.cpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::read(char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:74:63: warning: use of old-style cast to 'struct boost::iostreams::basic_null_source<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 74 | { return this->read(s, n, (basic_null_source<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::write(const char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:81:62: warning: use of old-style cast to 'struct boost::iostreams::basic_null_sink<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 81 | { return this->write(s, n, (basic_null_sink<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streampos boost::iostreams::detail::concept_adapter<T>::seek(boost::iostreams::stream_offset, std::ios_base::seekdir, std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:91:70: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 91 | (basic_null_device<char_type, seekable>*) 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'void boost::iostreams::detail::concept_adapter<T>::close(std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:100:68: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 100 | { this->close(which, (basic_null_device<char_type, seekable>*) 0); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::get_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:93:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 93 | this->pbump((int) (delegate().pptr() - delegate().pbase())); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::set_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:99:65: warning: use of old-style cast to 'int' [-Wold-style-cast] 99 | delegate().pbump((int) (this->pptr() - this->pbase())); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/preprocessor.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/preprocessor.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/read.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/non_blocking_adapter.hpp:12, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/close.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/operations.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/mode_adapter.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/resolve.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/push.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/binary_or_text.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/preprocessor.cpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:40:39: warning: use of old-style cast to 'int' [-Wold-style-cast] 40 | const int WOULD_BLOCK = (int) (EOF - 1); | ^ | --------------- | static_cast<int> ( (EOF - 1)) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/char_traits.hpp:43:57: warning: use of old-style cast to 'std::wint_t' {aka 'int'} [-Wold-style-cast] 43 | const std::wint_t WWOULD_BLOCK = (std::wint_t) (WEOF - 1); | ^ | - | static_cast<- | > ( ) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/stream_buffer.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/chain.hpp:34, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_stream.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::read(char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:74:63: warning: use of old-style cast to 'struct boost::iostreams::basic_null_source<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 74 | { return this->read(s, n, (basic_null_source<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streamsize boost::iostreams::detail::concept_adapter<T>::write(const char_type*, std::streamsize)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:81:62: warning: use of old-style cast to 'struct boost::iostreams::basic_null_sink<typename boost::iostreams::char_type_of<T>::type>*' [-Wold-style-cast] 81 | { return this->write(s, n, (basic_null_sink<char_type>*) 0); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'std::streampos boost::iostreams::detail::concept_adapter<T>::seek(boost::iostreams::stream_offset, std::ios_base::seekdir, std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:91:70: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 91 | (basic_null_device<char_type, seekable>*) 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp: In member function 'void boost::iostreams::detail::concept_adapter<T>::close(std::ios_base::openmode)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/adapter/concept_adapter.hpp:100:68: warning: use of old-style cast to 'class boost::iostreams::basic_null_device<typename boost::iostreams::char_type_of<T>::type, boost::iostreams::seekable>*' [-Wold-style-cast] 100 | { this->close(which, (basic_null_device<char_type, seekable>*) 0); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/filtering_streambuf.hpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::get_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:93:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 93 | this->pbump((int) (delegate().pptr() - delegate().pbase())); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp: In member function 'void boost::iostreams::detail::chainbuf<Chain, Access, Mode>::set_pointers()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iostreams/detail/streambuf/chainbuf.hpp:99:65: warning: use of old-style cast to 'int' [-Wold-style-cast] 99 | delegate().pbump((int) (this->pptr() - this->pbase())); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/schema_validator.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/parser.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema_validator.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema_validator.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/regex_traits.hpp:30, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex.hpp:34, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/type.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema_validator.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 344 | return char_syntax[(unsigned char)c]; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 539 | return char_syntax[(unsigned char)c]; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 843 | return (std::ptrdiff_t)(std::wcslen)(p); | ^ | - | static_cast< - | > ( ) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 859 | return static_cast<char>((std::tolower)((unsigned char)c)); | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 864 | return static_cast<char>((std::toupper)((unsigned char)c)); | ^ | - | static_cast< -- | > (c) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer<charT>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] 257 | if((int)cat < 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] 267 | if((int)cat >= 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation<charT>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] 614 | if((int)cat < 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] 624 | if((int)cat >= 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits<charT>::value(charT, int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] 853 | return (int)toi(pc, pc + 1, radix); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer<char>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] 969 | if ((int)cat < 0) | ^~~ | -------- | static_cast<int> (cat) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] 979 | if ((int)cat >= 0) | ^~~ | -------- | static_cast<int> (cat) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits<wchar_t>::string_type boost::c_regex_traits<wchar_t>::lookup_collatename(const wchar_t*, const wchar_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] 443 | name.push_back((char)*pos); | ^~~ | ---------- | static_cast<char> (*pos) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:41: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser<charT, traits>::parse(const charT*, const charT*, unsigned int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] 187 | this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_extended_escape()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] 905 | if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] 909 | pb->index = (int)i; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_repeat_range(bool)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1205 | max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits<std::size_t>::max)(); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser<charT, traits>::unescape_character()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long int'} [-Wold-style-cast] 1818 | || ((std::numeric_limits<charT>::is_specialized) && (i > (std::intmax_t)(std::numeric_limits<charT>::max)())) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long int'} [-Wold-style-cast] 1863 | if((val < 0) || (val > (std::intmax_t)(std::numeric_limits<charT>::max)())) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_backref()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] 1947 | pb->index = (int)i; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_perl_extension()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 2093 | pr->alt.i = (std::ptrdiff_t)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] 2248 | br->index = v < 0 ? (int)(v - 1) : 0; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] 2281 | br->index = (int)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] 2342 | br->index = (int)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 2641 | else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast<re_alt*>(b)->alt.i + this->getoffset(b))) && (static_cast<re_alt*>(b)->alt.i > 0) && this->getaddress(static_cast<re_alt*>(b)->alt.i, b)->type == syntax_element_alt) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2705 | this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:42: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match<BidiIterator>::difference_type boost::sub_match<BidiIterator>::length() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 44 | difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 44 | difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string<typename std::iterator_traits<_Iter>::value_type> boost::sub_match<BidiIterator>::str() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 52 | std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 52 | std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits<charT>::toi(const charT*&, const charT*, int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] 66 | return (int)global_toi(p1, p2, radix, *this); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::toi(ForwardIter&, ForwardIter, int, const std::integral_constant<bool, false>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] 149 | int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::difference_type boost::match_results<BidiIterator, Allocator>::length(int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] 105 | if((sub < (int)m_subs.size()) && (sub > 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::difference_type boost::match_results<BidiIterator, Allocator>::position(size_type) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 141 | return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 141 | return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::string_type boost::match_results<BidiIterator, Allocator>::str(int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] 170 | if(sub < (int)m_subs.size() && (sub > 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Allocator>::value_type& boost::match_results<BidiIterator, Allocator>::operator[](int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] 204 | if(sub < (int)m_subs.size() && (sub >= 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results<BidiIterator, Allocator>::maybe_assign(const boost::match_results<BidiIterator, Allocator>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 629 | len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 629 | len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 630 | len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 630 | len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:45: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 62 | return map[(unsigned char)c] & mask; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 66 | return map[(unsigned char)c] & mask; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:572: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_alt()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 564 | take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 565 | take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_rep()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 608 | take_first = can_start(*position, rep->_map, (unsigned char)mask_take); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 609 | take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_char_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 811 | count = (unsigned)std::distance(origin, position); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_set_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 885 | count = (unsigned)std::distance(origin, position); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_long_set_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 960 | count = (unsigned)std::distance(origin, position); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::estimate_max_state_count(std::random_access_iterator_tag*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 113 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 119 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 125 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 138 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 144 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:574: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_any()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 807 | while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_word()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 851 | if(can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_line()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 886 | if( can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:67: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation<BidirectionalIterator, charT, traits>::init(BidirectionalIterator)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 65 | result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation<BidirectionalIterator, charT, traits>::next()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] 94 | if(N+1 < (int)subs.size()) | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:71: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string<charT, Traits1, Alloc1>&, const basic_regex<charT, Traits2>&, regex_constants::match_flag_type, std::size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] 115 | *out = std::basic_string<charT, Traits1, Alloc1>((ci_t)last, (ci_t)s.end()); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] 115 | *out = std::basic_string<charT, Traits1, Alloc1>((ci_t)last, (ci_t)s.end()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema_validator.hpp:21: /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp: In instantiation of 'schema_validation::wml_tag::iterator<T, Map>::iterator() [with T = schema_validation::wml_tag; Map = std::map<std::__cxx11::basic_string<char>, schema_validation::wml_tag>]': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:303:56: required from here /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:62:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 62 | const config& match; | ^~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:73:50: note: the temporary was destroyed at the end of the full expression 'config().config::child(std::basic_string_view<char>(((const char*)"a")), 0)' 73 | iterator() : match(config().child("a")) {} | ~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp: In instantiation of 'schema_validation::wml_tag::iterator<T, Map>::iterator() [with T = schema_validation::wml_key; Map = std::map<std::__cxx11::basic_string<char>, schema_validation::wml_key>]': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:308:56: required from here /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:62:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 62 | const config& match; | ^~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:73:50: note: the temporary was destroyed at the end of the full expression 'config().config::child(std::basic_string_view<char>(((const char*)"a")), 0)' 73 | iterator() : match(config().child("a")) {} | ~~~~~~~~~~~~~~^~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/schema/key.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/key.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/schema/tag.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:10: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp: In instantiation of 'schema_validation::wml_tag::iterator<T, Map>::iterator() [with T = schema_validation::wml_tag; Map = std::map<std::__cxx11::basic_string<char>, schema_validation::wml_tag>]': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:303:56: required from here /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:62:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 62 | const config& match; | ^~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:73:50: note: the temporary was destroyed at the end of the full expression 'config().config::child(std::basic_string_view<char>(((const char*)"a")), 0)' 73 | iterator() : match(config().child("a")) {} | ~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp: In instantiation of 'schema_validation::wml_tag::iterator<T, Map>::iterator() [with T = schema_validation::wml_key; Map = std::map<std::__cxx11::basic_string<char>, schema_validation::wml_key>]': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:308:56: required from here /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:62:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 62 | const config& match; | ^~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/tag.hpp:73:50: note: the temporary was destroyed at the end of the full expression 'config().config::child(std::basic_string_view<char>(((const char*)"a")), 0)' 73 | iterator() : match(config().child("a")) {} | ~~~~~~~~~~~~~~^~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/schema/type.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/regex_traits.hpp:30, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex.hpp:34, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/type.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/type.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 344 | return char_syntax[(unsigned char)c]; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 539 | return char_syntax[(unsigned char)c]; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 843 | return (std::ptrdiff_t)(std::wcslen)(p); | ^ | - | static_cast< - | > ( ) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 859 | return static_cast<char>((std::tolower)((unsigned char)c)); | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 864 | return static_cast<char>((std::toupper)((unsigned char)c)); | ^ | - | static_cast< -- | > (c) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer<charT>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] 257 | if((int)cat < 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] 267 | if((int)cat >= 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation<charT>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] 614 | if((int)cat < 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] 624 | if((int)cat >= 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits<charT>::value(charT, int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] 853 | return (int)toi(pc, pc + 1, radix); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer<char>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] 969 | if ((int)cat < 0) | ^~~ | -------- | static_cast<int> (cat) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] 979 | if ((int)cat >= 0) | ^~~ | -------- | static_cast<int> (cat) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits<wchar_t>::string_type boost::c_regex_traits<wchar_t>::lookup_collatename(const wchar_t*, const wchar_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] 443 | name.push_back((char)*pos); | ^~~ | ---------- | static_cast<char> (*pos) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:41: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser<charT, traits>::parse(const charT*, const charT*, unsigned int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 187 | this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_extended_escape()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] 905 | if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] 909 | pb->index = (int)i; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_repeat_range(bool)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1205 | max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits<std::size_t>::max)(); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser<charT, traits>::unescape_character()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long int'} [-Wold-style-cast] 1818 | || ((std::numeric_limits<charT>::is_specialized) && (i > (std::intmax_t)(std::numeric_limits<charT>::max)())) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long int'} [-Wold-style-cast] 1863 | if((val < 0) || (val > (std::intmax_t)(std::numeric_limits<charT>::max)())) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_backref()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] 1947 | pb->index = (int)i; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_perl_extension()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 2093 | pr->alt.i = (std::ptrdiff_t)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] 2248 | br->index = v < 0 ? (int)(v - 1) : 0; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] 2281 | br->index = (int)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] 2342 | br->index = (int)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 2641 | else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast<re_alt*>(b)->alt.i + this->getoffset(b))) && (static_cast<re_alt*>(b)->alt.i > 0) && this->getaddress(static_cast<re_alt*>(b)->alt.i, b)->type == syntax_element_alt) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2705 | this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:42: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match<BidiIterator>::difference_type boost::sub_match<BidiIterator>::length() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 44 | difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 44 | difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string<typename std::iterator_traits<_Iter>::value_type> boost::sub_match<BidiIterator>::str() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 52 | std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 52 | std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits<charT>::toi(const charT*&, const charT*, int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] 66 | return (int)global_toi(p1, p2, radix, *this); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::toi(ForwardIter&, ForwardIter, int, const std::integral_constant<bool, false>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] 149 | int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::difference_type boost::match_results<BidiIterator, Allocator>::length(int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] 105 | if((sub < (int)m_subs.size()) && (sub > 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::difference_type boost::match_results<BidiIterator, Allocator>::position(size_type) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 141 | return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 141 | return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::string_type boost::match_results<BidiIterator, Allocator>::str(int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] 170 | if(sub < (int)m_subs.size() && (sub > 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Allocator>::value_type& boost::match_results<BidiIterator, Allocator>::operator[](int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] 204 | if(sub < (int)m_subs.size() && (sub >= 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results<BidiIterator, Allocator>::maybe_assign(const boost::match_results<BidiIterator, Allocator>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 629 | len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 629 | len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 630 | len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 630 | len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:45: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 62 | return map[(unsigned char)c] & mask; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 66 | return map[(unsigned char)c] & mask; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:572: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_alt()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 564 | take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 565 | take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_rep()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 608 | take_first = can_start(*position, rep->_map, (unsigned char)mask_take); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 609 | take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_char_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 811 | count = (unsigned)std::distance(origin, position); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_set_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 885 | count = (unsigned)std::distance(origin, position); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_long_set_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 960 | count = (unsigned)std::distance(origin, position); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::estimate_max_state_count(std::random_access_iterator_tag*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 113 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 119 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 125 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 138 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 144 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:574: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_any()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 807 | while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_word()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 851 | if(can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_line()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 886 | if( can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:67: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation<BidirectionalIterator, charT, traits>::init(BidirectionalIterator)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 65 | result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation<BidirectionalIterator, charT, traits>::next()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] 94 | if(N+1 < (int)subs.size()) | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:71: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp: In function 'size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string<charT, Traits1, Alloc1>&, const basic_regex<charT, Traits2>&, regex_constants::match_flag_type, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] 115 | *out = std::basic_string<charT, Traits1, Alloc1>((ci_t)last, (ci_t)s.end()); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] 115 | *out = std::basic_string<charT, Traits1, Alloc1>((ci_t)last, (ci_t)s.end()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/schema/type.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:76: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/string_utils.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/as_literal.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/string_utils.cpp:33: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/string_utils.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/tokenizer.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/unicode.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/serialization/validator.cpp.o [ 74%] Building CXX object src/CMakeFiles/wesnoth-common.dir/tstring.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/fold_impl.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/fold.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/no_duplicate_tags.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/tag.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_args.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index_fwd.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index_container_fwd.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/node_handle.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/hashed_index.hpp:38, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/tstring.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/hash_index_args.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/hashed_index_fwd.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/hashed_index.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ [ 74%] Linking CXX static library libwesnoth-common.a [ 74%] Built target wesnoth-common [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/about.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/about.cpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/advancement.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/attack_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/advancement.hpp:28, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/advancement.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/advancement.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/advancement.cpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/advancement.cpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/attack.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/attack_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/advancement.hpp:28, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/alignment.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map/map.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:35: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:37: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:56: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp: In static member function 'static battle_context battle_context::choose_attacker_weapon(nonempty_unit_const_ptr, nonempty_unit_const_ptr, const unit_map&, const map_location&, const map_location&, double, const combatant*)': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:553:36: warning: possibly dangling reference to a temporary [-Wdangling-reference] 553 | const attack_type& att = attacker->attacks()[i]; | ^~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:553:63: note: the temporary was destroyed at the end of the full expression 'attacker.utils::shared_reference<const unit>::operator->()->unit::attacks().boost::iterator_range<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > > >::<anonymous>.boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::operator[](((boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::difference_type)i))' 553 | const attack_type& att = attacker->attacks()[i]; | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp: In static member function 'static battle_context battle_context::choose_defender_weapon(nonempty_unit_const_ptr, nonempty_unit_const_ptr, unsigned int, const unit_map&, const map_location&, const map_location&, const combatant*)': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:605:28: warning: possibly dangling reference to a temporary [-Wdangling-reference] 605 | const attack_type& att = attacker->attacks()[attacker_weapon]; | ^~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:605:69: note: the temporary was destroyed at the end of the full expression 'attacker.utils::shared_reference<const unit>::operator->()->unit::attacks().boost::iterator_range<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > > >::<anonymous>.boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::operator[](((boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::difference_type)attacker_weapon))' 605 | const attack_type& att = attacker->attacks()[attacker_weapon]; | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:611:36: warning: possibly dangling reference to a temporary [-Wdangling-reference] 611 | const attack_type& def = defender->attacks()[i]; | ^~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:611:63: note: the temporary was destroyed at the end of the full expression 'defender.utils::shared_reference<const unit>::operator->()->unit::attacks().boost::iterator_range<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > > >::<anonymous>.boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::operator[](((boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::difference_type)i))' 611 | const attack_type& def = defender->attacks()[i]; | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:647:44: warning: possibly dangling reference to a temporary [-Wdangling-reference] 647 | const attack_type& def = defender->attacks()[choice.defender_stats_->attack_num]; | ^~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:647:104: note: the temporary was destroyed at the end of the full expression 'defender.utils::shared_reference<const unit>::operator->()->unit::attacks().boost::iterator_range<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > > >::<anonymous>.boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::operator[](((boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::difference_type)choice.battle_context::defender_stats_.std::unique_ptr<battle_context_unit_stats>::operator->()->battle_context_unit_stats::attack_num))' 647 | const attack_type& def = defender->attacks()[choice.defender_stats_->attack_num]; | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:666:36: warning: possibly dangling reference to a temporary [-Wdangling-reference] 666 | const attack_type& def = defender->attacks()[choice.defender_stats_->attack_num]; | ^~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.cpp:666:96: note: the temporary was destroyed at the end of the full expression 'defender.utils::shared_reference<const unit>::operator->()->unit::attacks().boost::iterator_range<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > > >::<anonymous>.boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::operator[](((boost::iterator_range_detail::iterator_range_base<boost::iterators::indirect_iterator<__gnu_cxx::__normal_iterator<const std::shared_ptr<attack_type>*, std::vector<std::shared_ptr<attack_type> > > >, boost::iterators::random_access_traversal_tag>::difference_type)choice.battle_context::defender_stats_.std::unique_ptr<battle_context_unit_stats>::operator->()->battle_context_unit_stats::attack_num))' 666 | const attack_type& def = defender->attacks()[choice.defender_stats_->attack_num]; | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/create.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/create.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/picture.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/display.hpp:58, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/create.cpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/create.cpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/create.cpp:52: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/heal.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/heal.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map/map.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/heal.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/iter_apply.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/find_if_pred.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/find_if.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/find.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/contains_impl.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/contains.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index_container.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/conversion_traits.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/heal.cpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/move.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/move.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/move.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/hotkey/hotkey_item.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/move.cpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/move.cpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/move.cpp:47: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/shroud_clearing_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/shroud_clearing_action.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/shroud_clearing_action.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/shroud_clearing_action.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/picture.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/frame.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/animation.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/udisplay.hpp:25, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/shroud_clearing_action.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.cpp:42: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.cpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo_dismiss_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_dismiss_action.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_dismiss_action.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_dismiss_action.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo_move_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_move_action.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_move_action.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/picture.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/frame.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/animation.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/animation_component.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_move_action.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_move_action.cpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo_recall_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recall_action.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recall_action.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recall_action.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recall_action.cpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo_recruit_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recruit_action.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recruit_action.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_recruit_action.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/undo_update_shroud_action.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_action.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_update_shroud_action.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo_update_shroud_action.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/unit_creator.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/unit_creator.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/picture.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/display.hpp:58, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/unit_creator.cpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/unit_creator.cpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/actions/vision.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map/map.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.cpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.cpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/addon/client.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/core/widget_definition.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/core/static_registry.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/modal_dialog.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/addon/addon_auth.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/client.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/formula/string_utils.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/client.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/dev_poll_reactor.hpp:244, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/reactor.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/scheduler.ipp:30, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/scheduler.hpp:240, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/io_context.hpp:44, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/network_asio.hpp:37, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/network_transmission.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/client.hpp:28, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/client.cpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/dev_poll_reactor.ipp: In member function 'virtual void boost::asio::detail::dev_poll_reactor::run(long int, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/dev_poll_reactor.ipp:312:27: warning: missing initializer for member 'dvpoll::dp_setp' [-Wmissing-field-initializers] 312 | ::dvpoll dp = { 0, 0, 0 }; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/socket_ops.hpp:374, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/socket_holder.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/reactive_socket_accept_op.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/reactive_socket_service.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/basic_socket.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/basic_socket_acceptor.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ip/tcp.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/network_asio.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::socket_type boost::asio::detail::socket_ops::call_accept(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:100:53: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 100 | SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:105:29: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 105 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_bind(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:280:20: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 280 | (SockLenType)addrlen); | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_connect(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:472:20: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 472 | (SockLenType)addrlen); | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::signed_size_type boost::asio::detail::socket_ops::call_recvfrom(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t, int, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1059:53: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1059 | SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1063:29: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1063 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::signed_size_type boost::asio::detail::socket_ops::call_sendto(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t, int, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1637:64: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1637 | static_cast<const socket_addr_type*>(addr), (SockLenType)addrlen); | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_setsockopt(SockLenType msghdr::*, boost::asio::detail::socket_type, int, int, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1859:20: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 1859 | (const char*)optval, (SockLenType)optlen); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1859:41: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1859 | (const char*)optval, (SockLenType)optlen); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getsockopt(SockLenType msghdr::*, boost::asio::detail::socket_type, int, int, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1944:42: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1944 | SockLenType tmp_optlen = (SockLenType)*optlen; | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1945:55: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1945 | int result = ::getsockopt(s, level, optname, (char*)optval, &tmp_optlen); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1946:26: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1946 | *optlen = (std::size_t)tmp_optlen; | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getpeername(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2049:43: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 2049 | SockLenType tmp_addrlen = (SockLenType)*addrlen; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2052:27: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2052 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getsockname(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2102:43: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 2102 | SockLenType tmp_addrlen = (SockLenType)*addrlen; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2105:27: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2105 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:435:58: note: in expansion of macro 'SSL_OP_BIT' 435 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:11: note: in expansion of macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:435:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 435 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:435:58: note: in expansion of macro 'SSL_OP_BIT' 435 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:11: note: in expansion of macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:373:58: note: in expansion of macro 'SSL_OP_BIT' 373 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:41: note: in expansion of macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:373:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 373 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:373:58: note: in expansion of macro 'SSL_OP_BIT' 373 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:41: note: in expansion of macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:359:58: note: in expansion of macro 'SSL_OP_BIT' 359 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:13: note: in expansion of macro 'SSL_OP_TLSEXT_PADDING' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:359:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 359 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:359:58: note: in expansion of macro 'SSL_OP_BIT' 359 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:13: note: in expansion of macro 'SSL_OP_TLSEXT_PADDING' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:360:58: note: in expansion of macro 'SSL_OP_BIT' 360 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:37: note: in expansion of macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:360:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 360 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:360:58: note: in expansion of macro 'SSL_OP_BIT' 360 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:37: note: in expansion of macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:421:58: note: in expansion of macro 'SSL_OP_BIT' 421 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:51: note: in expansion of macro 'SSL_OP_NO_SSLv3' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:421:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 421 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:421:58: note: in expansion of macro 'SSL_OP_BIT' 421 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:51: note: in expansion of macro 'SSL_OP_NO_SSLv3' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:422:58: note: in expansion of macro 'SSL_OP_BIT' 422 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:51: note: in expansion of macro 'SSL_OP_NO_TLSv1' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:422:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 422 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:422:58: note: in expansion of macro 'SSL_OP_BIT' 422 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:51: note: in expansion of macro 'SSL_OP_NO_TLSv1' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:424:58: note: in expansion of macro 'SSL_OP_BIT' 424 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_1' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:424:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 424 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:424:58: note: in expansion of macro 'SSL_OP_BIT' 424 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_1' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:423:58: note: in expansion of macro 'SSL_OP_BIT' 423 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_2' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:423:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 423 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:423:58: note: in expansion of macro 'SSL_OP_BIT' 423 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_2' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:425:58: note: in expansion of macro 'SSL_OP_BIT' 425 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_3' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:425:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 425 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:425:58: note: in expansion of macro 'SSL_OP_BIT' 425 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_3' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:390:58: note: in expansion of macro 'SSL_OP_BIT' 390 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:57: note: in expansion of macro 'SSL_OP_NO_COMPRESSION' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:390:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 390 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:390:58: note: in expansion of macro 'SSL_OP_BIT' 390 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:57: note: in expansion of macro 'SSL_OP_NO_COMPRESSION' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/network_asio.hpp:40: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::~context()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1042:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1042 | (char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:430:7: note: in expansion of macro 'SSL_CTX_set_app_data' 430 | SSL_CTX_set_app_data(handle_, 0); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1429:54: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1429 | SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1439:9: note: in expansion of macro 'SSL_CTX_set0_chain' 1439 | SSL_CTX_set0_chain(ctx,NULL) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:781:7: note: in expansion of macro 'SSL_CTX_clear_chain_certs' 781 | ::SSL_CTX_clear_chain_certs(handle_); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1421:67: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1421 | SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)(x509)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:794:14: note: in expansion of macro 'SSL_CTX_add_extra_chain_cert' 794 | if (!::SSL_CTX_add_extra_chain_cert(handle_, cacert)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/engine.h:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:279:28: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 279 | ( (((unsigned long)(lib) & ERR_LIB_MASK ) << ERR_LIB_OFFSET) | \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:957:13: note: in expansion of macro 'ERR_PACK' 957 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:280:31: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 280 | (((unsigned long)(reason) & ERR_REASON_MASK)) ) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:957:13: note: in expansion of macro 'ERR_PACK' 957 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:279:28: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 279 | ( (((unsigned long)(lib) & ERR_LIB_MASK ) << ERR_LIB_OFFSET) | \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:1077:13: note: in expansion of macro 'ERR_PACK' 1077 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:280:31: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 280 | (((unsigned long)(reason) & ERR_REASON_MASK)) ) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:1077:13: note: in expansion of macro 'ERR_PACK' 1077 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_set_verify_callback(boost::asio::ssl::detail::verify_callback_base*, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1042:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1042 | (char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:1208:3: note: in expansion of macro 'SSL_CTX_set_app_data' 1208 | SSL_CTX_set_app_data(handle_, callback); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/rfc2818_verification.ipp: In member function 'bool boost::asio::ssl::rfc2818_verification::operator()(bool, boost::asio::ssl::verify_context&) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/x509v3.h:232:122: warning: use of old-style cast to 'GENERAL_NAME*' {aka 'struct GENERAL_NAME_st*'} [-Wold-style-cast] 232 | #define sk_GENERAL_NAME_value(sk, idx) ((GENERAL_NAME *)OPENSSL_sk_value(ossl_check_const_GENERAL_NAME_sk_type(sk), (idx))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/rfc2818_verification.ipp:62:25: note: in expansion of macro 'sk_GENERAL_NAME_value' 62 | GENERAL_NAME* gen = sk_GENERAL_NAME_value(gens, i); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp: In destructor 'boost::asio::ssl::detail::engine::~engine()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1035:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1035 | # define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp:92:5: note: in expansion of macro 'SSL_set_app_data' 92 | SSL_set_app_data(ssl_, 0); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp: In member function 'boost::system::error_code boost::asio::ssl::detail::engine::set_verify_callback(boost::asio::ssl::detail::verify_callback_base*, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1035:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1035 | # define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp:145:3: note: in expansion of macro 'SSL_set_app_data' 145 | SSL_set_app_data(ssl_, callback); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/conf.h:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp: In member function 'const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/bio.h:560:74: warning: use of old-style cast to 'int' [-Wold-style-cast] 560 | # define BIO_wpending(b) (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp:244:7: note: in expansion of macro 'BIO_wpending' 244 | if (BIO_wpending(ext_bio_)) | ^~~~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/addon/info.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/info.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/picture.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/info.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 74%] Building CXX object src/CMakeFiles/wesnoth-client.dir/addon/manager.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/serialization/parser.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/manager.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/manager.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/addon/manager_ui.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/core/widget_definition.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/core/static_registry.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/modal_dialog.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/network_transmission.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/client.hpp:28, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/manager_ui.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/dev_poll_reactor.hpp:244, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/reactor.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/scheduler.ipp:30, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/scheduler.hpp:240, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/io_context.hpp:44, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/network_asio.hpp:37, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/network_transmission.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/dev_poll_reactor.ipp: In member function 'virtual void boost::asio::detail::dev_poll_reactor::run(long int, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/dev_poll_reactor.ipp:312:27: warning: missing initializer for member 'dvpoll::dp_setp' [-Wmissing-field-initializers] 312 | ::dvpoll dp = { 0, 0, 0 }; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/socket_ops.hpp:374, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/socket_holder.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/reactive_socket_accept_op.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/reactive_socket_service.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/basic_socket.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/basic_socket_acceptor.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ip/tcp.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/network_asio.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::socket_type boost::asio::detail::socket_ops::call_accept(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:100:53: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 100 | SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:105:29: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 105 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_bind(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:280:20: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 280 | (SockLenType)addrlen); | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_connect(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:472:20: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 472 | (SockLenType)addrlen); | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::signed_size_type boost::asio::detail::socket_ops::call_recvfrom(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t, int, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1059:53: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1059 | SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1063:29: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1063 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'boost::asio::detail::signed_size_type boost::asio::detail::socket_ops::call_sendto(SockLenType msghdr::*, boost::asio::detail::socket_type, const void*, size_t, int, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1637:64: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1637 | static_cast<const socket_addr_type*>(addr), (SockLenType)addrlen); | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_setsockopt(SockLenType msghdr::*, boost::asio::detail::socket_type, int, int, const void*, size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1859:20: warning: use of old-style cast to 'const char*' [-Wold-style-cast] 1859 | (const char*)optval, (SockLenType)optlen); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1859:41: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1859 | (const char*)optval, (SockLenType)optlen); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getsockopt(SockLenType msghdr::*, boost::asio::detail::socket_type, int, int, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1944:42: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 1944 | SockLenType tmp_optlen = (SockLenType)*optlen; | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1945:55: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1945 | int result = ::getsockopt(s, level, optname, (char*)optval, &tmp_optlen); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:1946:26: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1946 | *optlen = (std::size_t)tmp_optlen; | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getpeername(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2049:43: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 2049 | SockLenType tmp_addrlen = (SockLenType)*addrlen; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2052:27: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2052 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp: In function 'int boost::asio::detail::socket_ops::call_getsockname(SockLenType msghdr::*, boost::asio::detail::socket_type, void*, size_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2102:43: warning: use of old-style cast to 'SockLenType' [-Wold-style-cast] 2102 | SockLenType tmp_addrlen = (SockLenType)*addrlen; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/detail/impl/socket_ops.ipp:2105:27: warning: use of old-style cast to 'size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2105 | *addrlen = (std::size_t)tmp_addrlen; | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:435:58: note: in expansion of macro 'SSL_OP_BIT' 435 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:11: note: in expansion of macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:435:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 435 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:435:58: note: in expansion of macro 'SSL_OP_BIT' 435 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:11: note: in expansion of macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:373:58: note: in expansion of macro 'SSL_OP_BIT' 373 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:41: note: in expansion of macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:373:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 373 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:373:58: note: in expansion of macro 'SSL_OP_BIT' 373 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:448:41: note: in expansion of macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' 448 | ( SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:359:58: note: in expansion of macro 'SSL_OP_BIT' 359 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:13: note: in expansion of macro 'SSL_OP_TLSEXT_PADDING' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:359:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 359 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:359:58: note: in expansion of macro 'SSL_OP_BIT' 359 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:13: note: in expansion of macro 'SSL_OP_TLSEXT_PADDING' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:360:58: note: in expansion of macro 'SSL_OP_BIT' 360 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:37: note: in expansion of macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:360:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 360 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:360:58: note: in expansion of macro 'SSL_OP_BIT' 360 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:449:37: note: in expansion of macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' 449 | | SSL_OP_TLSEXT_PADDING | SSL_OP_SAFARI_ECDHE_ECDSA_BUG ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:139:62: note: in expansion of macro 'SSL_OP_ALL' 139 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, default_workarounds = SSL_OP_ALL); | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:421:58: note: in expansion of macro 'SSL_OP_BIT' 421 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:51: note: in expansion of macro 'SSL_OP_NO_SSLv3' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:421:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 421 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:421:58: note: in expansion of macro 'SSL_OP_BIT' 421 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:142:51: note: in expansion of macro 'SSL_OP_NO_SSLv3' 142 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_sslv3 = SSL_OP_NO_SSLv3); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:422:58: note: in expansion of macro 'SSL_OP_BIT' 422 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:51: note: in expansion of macro 'SSL_OP_NO_TLSv1' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:422:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 422 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:422:58: note: in expansion of macro 'SSL_OP_BIT' 422 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:143:51: note: in expansion of macro 'SSL_OP_NO_TLSv1' 143 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1 = SSL_OP_NO_TLSv1); | ^~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:424:58: note: in expansion of macro 'SSL_OP_BIT' 424 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_1' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:424:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 424 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:424:58: note: in expansion of macro 'SSL_OP_BIT' 424 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:145:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_1' 145 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_1 = SSL_OP_NO_TLSv1_1); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:423:58: note: in expansion of macro 'SSL_OP_BIT' 423 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_2' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:423:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 423 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:423:58: note: in expansion of macro 'SSL_OP_BIT' 423 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:150:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_2' 150 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_2 = SSL_OP_NO_TLSv1_2); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:425:58: note: in expansion of macro 'SSL_OP_BIT' 425 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_3' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:425:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 425 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:425:58: note: in expansion of macro 'SSL_OP_BIT' 425 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:155:53: note: in expansion of macro 'SSL_OP_NO_TLSv1_3' 155 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_tlsv1_3 = SSL_OP_NO_TLSv1_3); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:346:35: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 346 | #define SSL_OP_BIT(n) ((uint64_t)1 << (uint64_t)n) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:390:58: note: in expansion of macro 'SSL_OP_BIT' 390 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:57: note: in expansion of macro 'SSL_OP_NO_COMPRESSION' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:390:69: warning: use of old-style cast to 'uint64_t' {aka 'long unsigned int'} [-Wold-style-cast] 390 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17) | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:3: note: in expansion of macro 'BOOST_ASIO_STATIC_CONSTANT' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:390:58: note: in expansion of macro 'SSL_OP_BIT' 390 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17) | ^~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:160:57: note: in expansion of macro 'SSL_OP_NO_COMPRESSION' 160 | BOOST_ASIO_STATIC_CONSTANT(uint64_t, no_compression = SSL_OP_NO_COMPRESSION); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context_base.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/context.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/network_asio.hpp:40: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In destructor 'boost::asio::ssl::context::~context()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1042:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1042 | (char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:430:7: note: in expansion of macro 'SSL_CTX_set_app_data' 430 | SSL_CTX_set_app_data(handle_, 0); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1429:54: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1429 | SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1439:9: note: in expansion of macro 'SSL_CTX_set0_chain' 1439 | SSL_CTX_set0_chain(ctx,NULL) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:781:7: note: in expansion of macro 'SSL_CTX_clear_chain_certs' 781 | ::SSL_CTX_clear_chain_certs(handle_); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1421:67: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1421 | SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)(x509)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:794:14: note: in expansion of macro 'SSL_CTX_add_extra_chain_cert' 794 | if (!::SSL_CTX_add_extra_chain_cert(handle_, cacert)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/engine.h:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:279:28: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 279 | ( (((unsigned long)(lib) & ERR_LIB_MASK ) << ERR_LIB_OFFSET) | \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:957:13: note: in expansion of macro 'ERR_PACK' 957 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:280:31: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 280 | (((unsigned long)(reason) & ERR_REASON_MASK)) ) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:957:13: note: in expansion of macro 'ERR_PACK' 957 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::use_rsa_private_key_file(const std::string&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:279:28: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 279 | ( (((unsigned long)(lib) & ERR_LIB_MASK ) << ERR_LIB_OFFSET) | \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:1077:13: note: in expansion of macro 'ERR_PACK' 1077 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/err.h:280:31: warning: use of old-style cast to 'long unsigned int' [-Wold-style-cast] 280 | (((unsigned long)(reason) & ERR_REASON_MASK)) ) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:1077:13: note: in expansion of macro 'ERR_PACK' 1077 | ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_AN_RSA_KEY)); | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp: In member function 'boost::system::error_code boost::asio::ssl::context::do_set_verify_callback(boost::asio::ssl::detail::verify_callback_base*, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1042:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1042 | (char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/context.ipp:1208:3: note: in expansion of macro 'SSL_CTX_set_app_data' 1208 | SSL_CTX_set_app_data(handle_, callback); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/rfc2818_verification.ipp: In member function 'bool boost::asio::ssl::rfc2818_verification::operator()(bool, boost::asio::ssl::verify_context&) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/x509v3.h:232:122: warning: use of old-style cast to 'GENERAL_NAME*' {aka 'struct GENERAL_NAME_st*'} [-Wold-style-cast] 232 | #define sk_GENERAL_NAME_value(sk, idx) ((GENERAL_NAME *)OPENSSL_sk_value(ossl_check_const_GENERAL_NAME_sk_type(sk), (idx))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/impl/rfc2818_verification.ipp:62:25: note: in expansion of macro 'sk_GENERAL_NAME_value' 62 | GENERAL_NAME* gen = sk_GENERAL_NAME_value(gens, i); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp: In destructor 'boost::asio::ssl::detail::engine::~engine()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1035:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1035 | # define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp:92:5: note: in expansion of macro 'SSL_set_app_data' 92 | SSL_set_app_data(ssl_, 0); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp: In member function 'boost::system::error_code boost::asio::ssl::detail::engine::set_verify_callback(boost::asio::ssl::detail::verify_callback_base*, boost::system::error_code&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/ssl.h:1035:75: warning: use of old-style cast to 'char*' [-Wold-style-cast] 1035 | # define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)(arg))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp:145:3: note: in expansion of macro 'SSL_set_app_data' 145 | SSL_set_app_data(ssl_, callback); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/conf.h:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/openssl_types.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp: In member function 'const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/openssl/bio.h:560:74: warning: use of old-style cast to 'int' [-Wold-style-cast] 560 | # define BIO_wpending(b) (int)BIO_ctrl(b,BIO_CTRL_WPENDING,0,NULL) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/asio/ssl/detail/impl/engine.ipp:244:7: note: in expansion of macro 'BIO_wpending' 244 | if (BIO_wpending(ext_bio_)) | ^~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/manager_ui.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/widgets/generator.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/widgets/listbox.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/widgets/addon_list.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/addon/manager.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/manager_ui.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/addon/state.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/state.cpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/addon/validation.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/validation.cpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/addon/validation.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/actions.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/vision.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/undo.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/actions.cpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/actions.cpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/actions.cpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/assert.hpp:58, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/indirect_fun.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_vector.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/replay_recorder_base.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/saved_game.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/playsingle_controller.hpp:25, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/actions.cpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member function 'void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::transfer(iterator, typename PtrSeqAdapter::iterator, typename PtrSeqAdapter::iterator, PtrSeqAdapter&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:13: note: in expansion of macro 'BOOST_ASSERT' 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:13: note: in expansion of macro 'BOOST_ASSERT' 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member function 'void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::transfer(iterator, typename PtrSeqAdapter::iterator, PtrSeqAdapter&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:13: note: in expansion of macro 'BOOST_ASSERT' 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:13: note: in expansion of macro 'BOOST_ASSERT' 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member function 'void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::transfer(iterator, PtrSeqAdapter&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:13: note: in expansion of macro 'BOOST_ASSERT' 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:13: note: in expansion of macro 'BOOST_ASSERT' 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/random_access_index.hpp:55, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/side_actions.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/whiteboard/manager.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/actions.cpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp: In member function 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type boost::multi_index::detail::random_access_index_loader_base<Allocator>::position(node_impl_pointer) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/rnd_index_loader.hpp:119:44: warning: use of old-style cast to 'boost::multi_index::detail::random_access_index_loader_base<Allocator>::size_type' [-Wold-style-cast] 119 | return (size_type)(x->up()-ptrs.begin()); | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/ai.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/ai.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/ai.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/aspect.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/property_handler.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/component.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/engine.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/component.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/regex_traits.hpp:30, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:31, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex.hpp:34, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/component.cpp:30: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 344 | return char_syntax[(unsigned char)c]; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 539 | return char_syntax[(unsigned char)c]; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 843 | return (std::ptrdiff_t)(std::wcslen)(p); | ^ | - | static_cast< - | > ( ) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 859 | return static_cast<char>((std::tolower)((unsigned char)c)); | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 864 | return static_cast<char>((std::toupper)((unsigned char)c)); | ^ | - | static_cast< -- | > (c) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer<charT>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] 257 | if((int)cat < 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] 267 | if((int)cat >= 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation<charT>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] 614 | if((int)cat < 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] 624 | if((int)cat >= 0) | ^~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits<charT>::value(charT, int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] 853 | return (int)toi(pc, pc + 1, radix); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer<char>::init()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] 969 | if ((int)cat < 0) | ^~~ | -------- | static_cast<int> (cat) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] 979 | if ((int)cat >= 0) | ^~~ | -------- | static_cast<int> (cat) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_traits.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits<wchar_t>::string_type boost::c_regex_traits<wchar_t>::lookup_collatename(const wchar_t*, const wchar_t*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] 443 | name.push_back((char)*pos); | ^~~ | ---------- | static_cast<char> (*pos) In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:41: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser<charT, traits>::parse(const charT*, const charT*, unsigned int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] 187 | this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_extended_escape()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] 905 | if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] 909 | pb->index = (int)i; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_repeat_range(bool)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] 1205 | max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits<std::size_t>::max)(); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser<charT, traits>::unescape_character()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long int'} [-Wold-style-cast] 1818 | || ((std::numeric_limits<charT>::is_specialized) && (i > (std::intmax_t)(std::numeric_limits<charT>::max)())) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long int'} [-Wold-style-cast] 1863 | if((val < 0) || (val > (std::intmax_t)(std::numeric_limits<charT>::max)())) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_backref()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] 1947 | pb->index = (int)i; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser<charT, traits>::parse_perl_extension()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 2093 | pr->alt.i = (std::ptrdiff_t)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] 2248 | br->index = v < 0 ? (int)(v - 1) : 0; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] 2281 | br->index = (int)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] 2342 | br->index = (int)v; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 2641 | else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast<re_alt*>(b)->alt.i + this->getoffset(b))) && (static_cast<re_alt*>(b)->alt.i > 0) && this->getaddress(static_cast<re_alt*>(b)->alt.i, b)->type == syntax_element_alt) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] 2705 | this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:42: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match<BidiIterator>::difference_type boost::sub_match<BidiIterator>::length() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 44 | difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 44 | difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string<typename std::iterator_traits<_Iter>::value_type> boost::sub_match<BidiIterator>::str() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 52 | std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 52 | std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits<charT>::toi(const charT*&, const charT*, int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] 66 | return (int)global_toi(p1, p2, radix, *this); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::toi(ForwardIter&, ForwardIter, int, const std::integral_constant<bool, false>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] 149 | int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::difference_type boost::match_results<BidiIterator, Allocator>::length(int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] 105 | if((sub < (int)m_subs.size()) && (sub > 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::difference_type boost::match_results<BidiIterator, Allocator>::position(size_type) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 141 | return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 141 | return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results<BidiIterator, Allocator>::string_type boost::match_results<BidiIterator, Allocator>::str(int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] 170 | if(sub < (int)m_subs.size() && (sub > 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Allocator>::value_type& boost::match_results<BidiIterator, Allocator>::operator[](int) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] 204 | if(sub < (int)m_subs.size() && (sub >= 0)) | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results<BidiIterator, Allocator>::maybe_assign(const boost::match_results<BidiIterator, Allocator>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 629 | len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 629 | len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); | ^~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 630 | len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] 630 | len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); | ^~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:45: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 62 | return map[(unsigned char)c] & mask; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 66 | return map[(unsigned char)c] & mask; | ^ | - | static_cast< -- | > (c) /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] 107 | return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:572: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_alt()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 564 | take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 565 | take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_rep()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 608 | take_first = can_start(*position, rep->_map, (unsigned char)mask_take); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 609 | take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_char_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 811 | count = (unsigned)std::distance(origin, position); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_set_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 885 | count = (unsigned)std::distance(origin, position); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::match_long_set_repeat()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 960 | count = (unsigned)std::distance(origin, position); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::estimate_max_state_count(std::random_access_iterator_tag*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 113 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 119 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 125 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 138 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] 343 | # define BOOST_REGEX_MAX_STATE_COUNT 100000000 | ^~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' 144 | max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits<std::ptrdiff_t>::max)() - 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher.hpp:574: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_any()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 807 | while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_word()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 851 | if(can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher<BidiIterator, Allocator, traits>::find_restart_line()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] 886 | if( can_start(*position, _map, (unsigned char)mask_any) ) | ^~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:67: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation<BidirectionalIterator, charT, traits>::init(BidirectionalIterator)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] 65 | result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation<BidirectionalIterator, charT, traits>::next()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] 94 | if(N+1 < (int)subs.size()) | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex.hpp:71: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string<charT, Traits1, Alloc1>&, const basic_regex<charT, Traits2>&, regex_constants::match_flag_type, std::size_t)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] 115 | *out = std::basic_string<charT, Traits1, Alloc1>((ci_t)last, (ci_t)s.end()); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] 115 | *out = std::basic_string<charT, Traits1, Alloc1>((ci_t)last, (ci_t)s.end()); | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/contexts.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/engine.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/engine.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/engine.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/goal.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/goal.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/goal.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/lua_object.hpp:28, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/goal.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/goal.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/rca.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/rca.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/composite/stage.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/stage.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/configuration.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/configuration.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/configuration.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/contexts.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.cpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/aspect_attacks.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/property_handler.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/aspect_attacks.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/aspect_attacks.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/aspect_attacks.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/attack.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/manager.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/attack.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map/map.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/attack.cpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/attack.cpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/ca.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/rca.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/ca.hpp:25, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/ca.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/ca.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/ca_move_to_targets.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/rca.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/ca_move_to_targets.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/ca_move_to_targets.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/ca_move_to_targets.cpp:25: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/contexts.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/engine_cpp.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/engine_cpp.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/engine_cpp.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 75%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/recruitment.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/property_handler.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/recruitment.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/recruitment.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/recruitment.cpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/default/stage_rca.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/rca.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/stage_rca.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/stage_rca.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/ai.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/callable_objects.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/callable_objects.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/callable_objects.cpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/candidates.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/candidates.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/candidates.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/engine_fai.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/engine_fai.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/function_table.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/ai.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/function_table.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/function_table.cpp:30: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/stage_side_formulas.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/stage.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/stage_side_formulas.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/stage_side_formulas.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/formula/stage_unit_formulas.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/default/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/contexts.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/stage.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/stage_unit_formulas.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/stage_unit_formulas.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/formula/stage_unit_formulas.cpp:27: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/game_info.cpp.o [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/gamestate_observer.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/manager.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/gamestate_observer.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/lua/aspect_advancements.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/movetype.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/unit.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/aspect_advancements.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/lua/core.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/property_handler.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/core.cpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_state.hpp:22, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/play_controller.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/core.cpp:37: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/lua/engine_lua.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/contexts.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/engine.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/engine_lua.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/engine_lua.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/aspect.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/engine_lua.cpp:26: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/engine_lua.cpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/lua/lua_object.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/lua_object.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/lua_object.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/lua/lua_object.hpp:28: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/manager.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/manager.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/manager.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/composite/value_translator.hpp:29, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/manager.cpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/registry.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/registry.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/filter.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/registry.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/simulated_actions.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/simulated_actions.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/ai/testing.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/manager.hpp:26, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/testing.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/ai/testing.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_board.hpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/animated.cpp.o [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/attack_prediction.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/attack_prediction.cpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/units/alignment.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/actions/attack.hpp:27, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/attack_prediction.cpp:33: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/attack_prediction.cpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/wesnoth-client.dir/build_info.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/build_info.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/build_info.cpp:42: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/carryover.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/carryover.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/carryover.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/carryover.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/chat_command_handler.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map_command_handler.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/chat_command_handler.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/chat_command_handler.cpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map_command_handler.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gui/dialogs/preferences_dialog.hpp:24, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/chat_command_handler.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/chat_events.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map_command_handler.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/chat_events.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/formula/string_utils.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/chat_events.cpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/split.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/map_command_handler.hpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/chat_events.cpp:23: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/chat_log.cpp.o [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/commandline_options.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function1.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/value_semantic.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/commandline_options.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/commandline_options.cpp:16: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/lexical_cast.hpp:48, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/value_semantic.hpp:14: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/options_description.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/value_semantic.hpp:421: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp: In function 'void boost::program_options::validate(boost::any&, const std::vector<std::__cxx11::basic_string<charT> >&, std::vector<T>*, int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp:149:37: warning: use of old-style cast to 'T*' [-Wold-style-cast] 149 | validate(a, cv, (T*)0, 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp: In function 'void boost::program_options::validate(boost::any&, const std::vector<std::__cxx11::basic_string<charT> >&, boost::optional<T>*, int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp:168:28: warning: use of old-style cast to 'T*' [-Wold-style-cast] 168 | validate(a, s, (T*)0, 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp: In member function 'void boost::program_options::typed_value<T, charT>::xparse(boost::any&, const std::vector<std::__cxx11::basic_string<charT> >&) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp:184:51: warning: use of old-style cast to 'T*' [-Wold-style-cast] 184 | validate(value_store, new_tokens, (T*)0, 0); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/options_description.hpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/controller_base.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/display.hpp:57, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/picture.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/display.hpp:58: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function1.hpp:11, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/value_semantic.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/commandline_options.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_manager.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:21: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1<R, T0>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/value_semantic.hpp:421: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp: In function 'void boost::program_options::validate(boost::any&, const std::vector<std::__cxx11::basic_string<charT> >&, std::vector<T>*, int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp:149:37: warning: use of old-style cast to 'T*' [-Wold-style-cast] 149 | validate(a, cv, (T*)0, 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp: In function 'void boost::program_options::validate(boost::any&, const std::vector<std::__cxx11::basic_string<charT> >&, boost::optional<T>*, int)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp:168:28: warning: use of old-style cast to 'T*' [-Wold-style-cast] 168 | validate(a, s, (T*)0, 0); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp: In member function 'void boost::program_options::typed_value<T, charT>::xparse(boost::any&, const std::vector<std::__cxx11::basic_string<charT> >&) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/detail/value_semantic.hpp:184:51: warning: use of old-style cast to 'T*' [-Wold-style-cast] 184 | validate(value_store, new_tokens, (T*)0, 0); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:15, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function.hpp:70, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/program_options/options_description.hpp:15: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0<R>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2<R, T0, T1>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3<R, T0, T1, T2>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4<R, T0, T1, T2, T3>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:50, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5<R, T0, T1, T2, T3, T4>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:57, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6<R, T0, T1, T2, T3, T4, T5>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:64, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7<R, T0, T1, T2, T3, T4, T5, T6>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:71, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8<R, T0, T1, T2, T3, T4, T5, T6, T7>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:78, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9<R, T0, T1, T2, T3, T4, T5, T6, T7, T8>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/maybe_include.hpp:85, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/detail/function_iterate.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10<R, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] 646 | functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_gesture.h:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_events.h:39, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/events.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.hpp:39, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:17: /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp: In member function 'virtual void controller_base::handle_event(const SDL_Event&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_touch.h:61:37: warning: use of old-style cast to 'Uint32' {aka 'unsigned int'} [-Wold-style-cast] 61 | #define SDL_TOUCH_MOUSEID ((Uint32)-1) | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:159:54: note: in expansion of macro 'SDL_TOUCH_MOUSEID' 159 | if(new_event.motion.which != SDL_TOUCH_MOUSEID) { | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_touch.h:61:37: warning: use of old-style cast to 'Uint32' {aka 'unsigned int'} [-Wold-style-cast] 61 | #define SDL_TOUCH_MOUSEID ((Uint32)-1) | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:163:54: note: in expansion of macro 'SDL_TOUCH_MOUSEID' 163 | if(new_event.motion.which != SDL_TOUCH_MOUSEID) { | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_touch.h:61:37: warning: use of old-style cast to 'Uint32' {aka 'unsigned int'} [-Wold-style-cast] 61 | #define SDL_TOUCH_MOUSEID ((Uint32)-1) | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:180:62: note: in expansion of macro 'SDL_TOUCH_MOUSEID' 180 | last_mouse_is_touch_ = event.button.which == SDL_TOUCH_MOUSEID; | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_touch.h:61:37: warning: use of old-style cast to 'Uint32' {aka 'unsigned int'} [-Wold-style-cast] 61 | #define SDL_TOUCH_MOUSEID ((Uint32)-1) | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:202:62: note: in expansion of macro 'SDL_TOUCH_MOUSEID' 202 | last_mouse_is_touch_ = event.button.which == SDL_TOUCH_MOUSEID; | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/SDL2/SDL_touch.h:61:37: warning: use of old-style cast to 'Uint32' {aka 'unsigned int'} [-Wold-style-cast] 61 | #define SDL_TOUCH_MOUSEID ((Uint32)-1) | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/controller_base.cpp:214:64: note: in expansion of macro 'SDL_TOUCH_MOUSEID' 214 | if(event.user.code == static_cast<int>(SDL_TOUCH_MOUSEID) | ^~~~~~~~~~~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/countdown_clock.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/countdown_clock.cpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:45, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset.hpp:15, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/team.hpp:30: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:53: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/type_traits/is_convertible.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/interoperable.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:11: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:69:87: warning: use of old-style cast to 'bool' [-Wold-style-cast] 69 | BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value); | ^~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/static_assert.hpp:71:55: note: in definition of macro 'BOOST_STATIC_ASSERT' 71 | # define BOOST_STATIC_ASSERT( ... ) static_assert(__VA_ARGS__, #__VA_ARGS__) | ^~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function 'boost::dynamic_bitset<Block, Allocator>::size_type boost::dynamic_bitset<Block, Allocator>::count() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/dynamic_bitset/dynamic_bitset.hpp:1247:53: warning: use of old-style cast to 'bool' [-Wold-style-cast] 1247 | static_cast<value_to_type<(bool)mode> *>(0)); | ^~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/assert.hpp:58, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/indirect_fun.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_vector.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/replay_recorder_base.hpp:17, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/saved_game.hpp:20, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/countdown_clock.cpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member function 'void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::transfer(iterator, typename PtrSeqAdapter::iterator, typename PtrSeqAdapter::iterator, PtrSeqAdapter&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:13: note: in expansion of macro 'BOOST_ASSERT' 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:465:13: note: in expansion of macro 'BOOST_ASSERT' 465 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member function 'void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::transfer(iterator, typename PtrSeqAdapter::iterator, PtrSeqAdapter&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:13: note: in expansion of macro 'BOOST_ASSERT' 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:478:13: note: in expansion of macro 'BOOST_ASSERT' 478 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member function 'void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::transfer(iterator, PtrSeqAdapter&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:35: warning: use of old-style cast to 'void*' [-Wold-style-cast] 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:13: note: in expansion of macro 'BOOST_ASSERT' 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/ptr_container/ptr_sequence_adapter.hpp:500:13: note: in expansion of macro 'BOOST_ASSERT' 500 | BOOST_ASSERT( (void*)&from != (void*)this ); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/countdown_clock.cpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/desktop/battery_info.cpp.o [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/desktop/notifications.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/notifications.cpp:18: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/game.hpp:19: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/desktop/open.cpp.o [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/desktop/paths.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/config.hpp:48, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config_view.hpp:18, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/game_config.hpp:23, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/paths.cpp:20: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:17: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional/hash/hash.hpp:6, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/relation/mutant_relation.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:38, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/bimap.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap.hpp:13, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:21, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/preferences/general.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/paths.cpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp: In lambda function: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/container_hash/hash.hpp:425:47: warning: use of old-style cast to 'const B&' [-Wold-style-cast] 425 | boost::hash_combine( r, (B const&)v ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/set_of.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/manage_bimap_key.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:43: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] 176 | return (pointer)(void*)(*r&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] 181 | *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl<AugmentPolicy, Allocator>* boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::parent() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] 208 | return (pointer)(void*)(parentcolor_&~uintptr_type(1)); | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base<AugmentPolicy, Allocator>::pointer' [-Wold-style-cast] In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/bimap/detail/bimap_core.hpp:50: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp: In function 'typename std::enable_if<(! boost::detail::alloc_has_construct<A, T, Args>::value)>::type boost::allocator_construct(A&, T*, Args&& ...)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/allocator_access.hpp:529:18: warning: use of old-style cast to 'void*' [-Wold-style-cast] 529 | ::new((void*)p) T(std::forward<Args>(args)...); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:33, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/terrain/translation.hpp:24: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:143:56: warning: use of old-style cast to 'boost::detail::multi_array::const_sub_array<T, NumDims, TPtr>::index' [-Wold-style-cast] 143 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp: In member function 'boost::detail::multi_array::sub_array<T, NumDims>::iterator boost::detail::multi_array::sub_array<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/subarray.hpp:296:62: warning: use of old-style cast to 'boost::detail::multi_array::sub_array<T, NumDims>::index' [-Wold-style-cast] 296 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:26, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:34: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::const_iterator boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:158:56: warning: use of old-style cast to 'boost::detail::multi_array::const_multi_array_view<T, NumDims, TPtr>::index' [-Wold-style-cast] 158 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp: In member function 'boost::detail::multi_array::multi_array_view<T, NumDims>::iterator boost::detail::multi_array::multi_array_view<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/view.hpp:367:62: warning: use of old-style cast to 'boost::detail::multi_array::multi_array_view<T, NumDims>::index' [-Wold-style-cast] 367 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:32: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::unary_negate<Predicate> boost::not1(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:193:86: warning: use of old-style cast to 'typename boost::unary_traits<Predicate>::param_type' [-Wold-style-cast] 193 | return unary_negate<Predicate>((typename unary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binary_negate<Predicate> boost::not2(const Predicate&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:231:88: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 231 | return binary_negate<Predicate>((typename binary_traits<Predicate>::param_type)pred); | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder1st<Operation> boost::bind1st(const Operation&, typename call_traits<typename binary_traits<Predicate>::first_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:275:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 275 | return binder1st<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp: In function 'boost::binder2nd<Operation> boost::bind2nd(const Operation&, typename call_traits<typename binary_traits<Predicate>::second_argument_type>::param_type)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/functional.hpp:322:84: warning: use of old-style cast to 'typename boost::binary_traits<Predicate>::param_type' [-Wold-style-cast] 322 | return binder2nd<Operation>((typename binary_traits<Operation>::param_type)op, x); | ^~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::const_multi_array_ref<T, NumDims, TPtr>::const_iterator boost::const_multi_array_ref<T, NumDims, TPtr>::end() const': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:249:56: warning: use of old-style cast to 'boost::const_multi_array_ref<T, NumDims, TPtr>::index' [-Wold-style-cast] 249 | return const_iterator(*index_bases()+(index)*shape(),origin(), | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp: In member function 'boost::multi_array_ref<T, NumDims>::iterator boost::multi_array_ref<T, NumDims>::end()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array/multi_array_ref.hpp:549:62: warning: use of old-style cast to 'boost::multi_array_ref<T, NumDims>::index' [-Wold-style-cast] 549 | return iterator(*this->index_bases()+(index)*this->shape(),origin(), | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/alloc_construct.hpp:14, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:36: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp: In member function 'void boost::noinit_adaptor<A>::construct(U*)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/core/noinit_adaptor.hpp:48:22: warning: use of old-style cast to 'void*' [-Wold-style-cast] 48 | ::new((void*)p) U; | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:153:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 153 | super_type((T*)initial_base_,c_storage_order(), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:169:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 169 | super_type((T*)initial_base_,extents), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:180:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 180 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const ExtentList&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:191:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 191 | super_type((T*)initial_base_,extents,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:202:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 202 | super_type((T*)initial_base_,ranges), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:212:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 212 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp: In constructor 'boost::multi_array<T, NumDims, Allocator>::multi_array(const boost::detail::multi_array::extent_gen<NumDims>&, const boost::general_storage_order<NumDims>&, const Allocator&)': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/multi_array.hpp:223:20: warning: use of old-style cast to 'T*' [-Wold-style-cast] 223 | super_type((T*)initial_base_,ranges,so), | ^~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/paths.cpp: In function 'config desktop::{anonymous}::get_bookmarks_config()': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/paths.cpp:154:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | const config& cfg = preferences::get_child("dir_bookmarks"); | ^~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/paths.cpp:154:51: note: the temporary was destroyed at the end of the full expression 'preferences::get_child(std::__cxx11::basic_string<char>(((const char*)"dir_bookmarks"), std::allocator<char>()))' 154 | const config& cfg = preferences::get_child("dir_bookmarks"); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/wesnoth-client.dir/desktop/version.cpp.o In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/template_arity.hpp:43, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/full_lambda.hpp:29, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/lambda.hpp:22, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/apply.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:36, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:27, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range.hpp:13, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/as_literal.hpp:18, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/algorithm/string/trim.hpp:19, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:46: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] 15 | typedef char (&type)[(unsigned)N + 1]; | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/config.hpp:61, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/config.hpp:10, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/locale/info.hpp:10, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/gettext.hpp:41, from /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:22: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/assert.hpp:35, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:19, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size_type.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/size.hpp:21, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/functions.hpp:20, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/iterator_range_core.hpp:38: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 35 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 50 | static void failed() { ((Model*)0)->~Model(); } | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint<Model>::failed()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 65 | static void failed() { ((Model*)0)->constraints(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept_check.hpp:31: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements<Model>::~usage_requirements()': /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ In file included from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/aux_/na_assert.hpp:23, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/arg.hpp:25, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/placeholders.hpp:24, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_categories.hpp:16, from /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/iterator/iterator_facade.hpp:13: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp: At global scope: /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<mpl_::assert_::equal, std::numeric_limits<typename std::iterator_traits<_Iter>::difference_type>::is_signed, 1>::************' [-Wold-style-cast] 351 | >::************)) 0 ) \ | ^ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' 60 | # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } | ^~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' 380 | BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' 189 | BOOST_MPL_ASSERT_RELATION(std::numeric_limits<difference_type>::is_signed, ==, true); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/wesnoth/work/.buildlink/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] 137 | BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp: In function 'std::string desktop::os_version()': /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:220:16: error: expected ';' before 'u' 220 | utsname u; | ^~ | ; /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:220:9: warning: statement has no effect [-Wunused-value] 220 | utsname u; | ^~~~~~~ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:222:19: error: 'u' was not declared in this scope 222 | if(uname(&u) != 0) { | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:259:47: error: 'u' was not declared in this scope 259 | return osrel_distname + " " + u.machine; | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:281:44: error: 'u' was not declared in this scope 281 | return ver + " " + u.machine; | ^ /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/src/desktop/version.cpp:289:31: error: 'u' was not declared in this scope 289 | return formatter() << u.sysname << ' ' | ^ *** [src/CMakeFiles/wesnoth-client.dir/desktop/version.cpp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/cmake-pkgsrc-build 1 error bmake[2]: stopped in /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/cmake-pkgsrc-build *** [src/CMakeFiles/wesnoth-client.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/cmake-pkgsrc-build 1 error bmake[1]: stopped in /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped in /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/cmake-pkgsrc-build 1 error bmake: stopped in /home/pbulk/build/games/wesnoth/work/wesnoth-1.16.10/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/games/wesnoth *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/games/wesnoth