mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 02:06:23 +00:00

This is necessary with Xcode 15.3 to avoid about 750 warnings across all of the codebase regarding "Implicit conversion loses integer precision", most of which apply in cases where theoretical limits are involved because of conversions from unsigned 64-bit integers (usually size_t) to signed 32-bit (int). Ideally we want to address these warnings, but given how many of them there are all over the place this is not something that can reasonably be done in such short notice before Wesnoth 1.18.0 is released, and in the meantime they make the compiler output with Xcode unnecessarily noisy and completely bury any relevant warnings from actual code changes. In the meantime, this is best for productivity until we can get to a place where we can fix all of them and force using -Wshorten-64-to-32 for all platforms in CI.