1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 02:59:10 +00:00

Codechange: Replace type-punning with std::bit_cast in squirrel. (#12224)

This commit is contained in:
2024-03-09 17:13:17 +00:00
committed by GitHub
parent de8a840db5
commit 55a328c586
4 changed files with 16 additions and 22 deletions

View File

@@ -74,12 +74,6 @@ macro(compile_flags)
# We use 'ABCD' multichar for SaveLoad chunks identifiers
-Wno-multichar
# Compilers complains about that we break strict-aliasing.
# On most places we don't see how to fix it, and it doesn't
# break anything. So disable strict-aliasing to make the
# compiler all happy.
-fno-strict-aliasing
)
# Ninja processes the output so the output from the compiler