1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-25 15:36:48 +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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
barrier.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
budgetmeasurement.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
color.cpp Move from std::atoi to std::from_char 2023-03-18 09:30:48 +00:00
color.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
compression.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
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 Increase ESM4 active grid 2023-05-18 00:38:41 +02:00
convert.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
coordinateconverter.hpp Use proper cell size for ESM4 cells in CoordinateConverter 2023-08-13 02:24:22 +02:00
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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
float16.hpp Load BSTriShape NIF nodes 2023-07-09 10:14:27 +00:00
frameratelimiter.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
guarded.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
hash.hpp Applies review advice 2023-04-03 14:17:35 +02:00
helpviewer.cpp Open matching version of documentation for Launcher Help 2024-02-25 18:20:40 +01:00
helpviewer.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
math.hpp
mathutil.hpp Support terrain sample size greater than cell size 2023-08-06 23:47:35 +02:00
messageformatparser.cpp Make getStringLiteral return a string_view 2022-05-21 01:21:55 +02:00
messageformatparser.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
notnullptr.hpp Make constexpr Misc::NotNullptr member functions 2023-03-18 16:36:26 +01:00
objectpool.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
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 allow soft particles on meshes and add extra data extensions 2022-06-29 18:15:12 -07:00
osguservalues.hpp allow soft particles on meshes and add extra data extensions 2022-06-29 18:15:12 -07:00
pathhelpers.hpp Add a dictionary to retrieve the LOD mesh name of a mesh cache 2022-09-03 18:52:27 +02:00
progressreporter.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
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 Remove unused includes 2022-10-09 16:44:18 +02:00
rng.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
strongtypedef.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
thread.cpp Add missing headers to components/CMakeLists.txt 2023-10-15 15:44:24 +01:00
thread.hpp Minor header cleanup 2023-04-30 16:26:03 +02:00
timeconvert.hpp Simplify file_time_type to time_t conversion 2023-06-19 13:21:40 +04:00
timer.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
tuplehelpers.hpp typo 2022-09-11 13:18:56 +02:00
tuplemeta.hpp moves one function from tuplemeta.hpp to newly created tuplehelpers.hpp 2022-09-10 20:13:18 +02:00
typetraits.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
utf8qtextstream.hpp Move ensureUtf8Encoding to named namespace 2023-01-18 22:58:35 +01:00
utf8stream.hpp Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
weakcache.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
windows.hpp Add missing headers to components/CMakeLists.txt 2023-10-15 15:44:24 +01:00