1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 01:10:10 +00:00
OpenMW/components/lua
AnyOldName3 28131fd62b Fixes for a whole bunch of warnings
These warnings were always enabled, but we didn't see them due to https://gitlab.com/OpenMW/openmw/-/issues/7882.
I do not fully understand the cause of 7822 as I can't repro it in a minimal CMake project.

Some of these fixes are thought through.
Some are sensible best guesses.
Some are kind of a stab in the dark as I don't know whether there was a
possible bug the warning was telling me about that I've done nothing to
help by introducing a static_cast.

Nearly all of these warnings were about some kind of narrowing
conversion, so I'm not sure why they weren't firing with GCC and Clang,
which have -Wall -Wextra -pedantic set, which should imply -Wnarrowing,
and they can't have been affected by 7882.

There were also some warnings being triggered from Boost code.
The vast majority of library headers that do questionable things weren't
firing warnings off, but for some reason, /external:I wasn't putting
these Boost headers into external mode.

We need these warnings dealt with one way or another so we can switch
the default Windows CI from MSBuild (which doesn't do ccache) to Ninja
(which does).
I have the necessary magic for that on a branch, but the branch won't
build because of these warnings.
2024-03-14 23:39:33 +00:00
..
shapes
asyncpackage.cpp Move local variables 2024-02-23 17:10:55 +04:00
asyncpackage.hpp Simplify and fix the storage subscribe test 2024-02-13 00:56:14 +01:00
configuration.cpp Draft: add new type of Lua scripts - menu scripts 2023-10-31 10:29:24 +01:00
configuration.hpp Draft: add new type of Lua scripts - menu scripts 2023-10-31 10:29:24 +01:00
inputactions.cpp Coverity defects 2024-01-02 13:54:02 +01:00
inputactions.hpp Coverity defects 2024-01-02 13:54:02 +01:00
l10n.cpp
l10n.hpp
luastate.cpp Fix loadVFS error handling 2024-02-14 09:49:32 +01:00
luastate.hpp Test LuaUtil::safeGet preventing crash 2024-02-14 09:49:32 +01:00
scriptscontainer.cpp Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
scriptscontainer.hpp Avoid making engine handler methods public 2024-01-11 00:55:29 +01:00
serialization.cpp
serialization.hpp
storage.cpp Add a storage mode to drop section on game exit 2024-02-27 23:26:22 +04:00
storage.hpp Add a storage mode to drop section on game exit 2024-02-27 23:26:22 +04:00
utf8.cpp Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
utf8.hpp
utilpackage.cpp Minor API inconsistencies 2023-11-21 03:04:24 +00:00
utilpackage.hpp