You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
10 months ago
..
shapes Expose game object's bounding box in lua api 2 years ago
asyncpackage.cpp Move local variables 10 months ago
asyncpackage.hpp Simplify and fix the storage subscribe test 11 months ago
configuration.cpp Draft: add new type of Lua scripts - menu scripts 1 year ago
configuration.hpp Draft: add new type of Lua scripts - menu scripts 1 year ago
inputactions.cpp Coverity defects 1 year ago
inputactions.hpp Coverity defects 1 year ago
l10n.cpp Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2 years ago
l10n.hpp Update Lua profiler; add ability to run OpenMW with old LuaJit that doesn't allow custom allocator (Lua profiler will be disabled in this case) 2 years ago
luastate.cpp Fix loadVFS error handling 11 months ago
luastate.hpp Test LuaUtil::safeGet preventing crash 11 months ago
scriptscontainer.cpp Fixes for a whole bunch of warnings 10 months ago
scriptscontainer.hpp Avoid making engine handler methods public 12 months ago
serialization.cpp Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2 years ago
serialization.hpp Apply clang-format to code base 2 years ago
storage.cpp Add a storage mode to drop section on game exit 10 months ago
storage.hpp Add a storage mode to drop section on game exit 10 months ago
utf8.cpp Fixes for a whole bunch of warnings 10 months ago
utf8.hpp utf8.char 1 year ago
utilpackage.cpp Minor API inconsistencies 1 year ago
utilpackage.hpp Lua: change obj.rotation from Euler angles to Quaternion 2 years ago