1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 04:10:06 +00:00
OpenMW/components/misc
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
..
strings Lua actions take 3 2023-12-29 18:56:59 +00:00
algorithm.hpp
barrier.hpp
budgetmeasurement.hpp
color.cpp
color.hpp
compression.cpp
compression.hpp
concepts.hpp Write AiSequence and Script data field by field via decompose function 2024-01-14 23:04:56 +01:00
constants.hpp
convert.hpp
coordinateconverter.hpp
display.cpp Use multiplication character in the launcher instead of 'x' 2023-11-28 22:47:27 +04:00
display.hpp Use multiplication character in the launcher instead of 'x' 2023-11-28 22:47:27 +04:00
endianness.hpp
float16.hpp
frameratelimiter.hpp
guarded.hpp
hash.hpp
helpviewer.cpp Open matching version of documentation for Launcher Help 2024-02-25 18:20:40 +01:00
helpviewer.hpp
math.hpp
mathutil.hpp
messageformatparser.cpp
messageformatparser.hpp
notnullptr.hpp
objectpool.hpp
osgpluginchecker.cpp.in Fix build with OSG_USE_UTF8_FILENAME 2024-03-06 20:51:48 +01:00
osgpluginchecker.hpp Initial stab at OSG plugin checker 2024-01-12 23:43:14 +00:00
osguservalues.cpp
osguservalues.hpp
pathhelpers.hpp
progressreporter.hpp
resourcehelpers.cpp Use normalized path for correctSoundPath 2024-02-24 12:42:36 +01:00
resourcehelpers.hpp Use normalized path for correctSoundPath 2024-02-24 12:42:36 +01:00
rng.cpp
rng.hpp
strongtypedef.hpp
thread.cpp Add missing headers to components/CMakeLists.txt 2023-10-15 15:44:24 +01:00
thread.hpp
timeconvert.hpp
timer.hpp
tuplehelpers.hpp
tuplemeta.hpp
typetraits.hpp
utf8qtextstream.hpp
utf8stream.hpp Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
weakcache.hpp
windows.hpp Add missing headers to components/CMakeLists.txt 2023-10-15 15:44:24 +01:00