1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 09:15:38 +00:00
openmw/components
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
..
bsa Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
bullethelpers Remove unused includes 2022-10-09 16:44:18 +02:00
compiler Parse special characters that have been put back as names too 2024-01-24 18:31:04 +01:00
config Move local variables in components 2024-01-19 16:01:48 +04:00
contentselector Make ContentSelector errors localizable 2024-01-28 11:25:46 +04:00
crashcatcher Make crashCatcherInstall no-op for Android 2024-02-11 03:18:43 +01:00
debug Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
detournavigator Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
esm Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
esm3 Implement auto calculated potion values 2024-03-02 12:45:48 +01:00
esm4 Use forward declaration for VFS::Manager 2024-01-24 21:52:48 +01:00
esmloader Gets rid of most ESM::CellId 2023-04-03 14:16:05 +02:00
esmterrain Move local variables in components 2024-01-19 16:01:48 +04:00
fallback Correct MaxNumberRipples and Timescale Clouds validation categories 2024-01-26 17:12:58 +03:00
files Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
fontloader Merge Assumeru/mystringvui 2023-10-17 23:53:04 +02:00
fx Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
interpreter Use string_view in more places and reduce the number of empty string literals 2023-05-21 16:39:32 +02:00
l10n Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
loadinglistener Fix crash related to async content loading (#7508) 2023-07-29 21:13:57 +02:00
lua Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
lua_ui Detach Lua Elements properly from their parent 2024-03-10 14:05:37 +01:00
misc Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
myguiplatform Merge Assumeru/mystringvui 2023-10-17 23:53:04 +02:00
navmeshtool Stop updating navmeshtool progress on first bad message 2023-01-27 19:10:53 +01:00
nif Merge branch 'move_components' into 'master' 2024-01-20 15:53:07 +00:00
nifbullet Merge branch 'russianroulette' into 'master' 2023-12-26 10:33:20 +00:00
nifosg Use move semantics for osg::ref_ptr 2024-01-21 13:48:33 +04:00
platform Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
process Do not include formatting spaces to localizable strings 2023-11-30 13:06:50 +04:00
resource Make VFS::Path::Normalized constructor from std::string_view explicit 2024-03-09 00:21:16 +01:00
sceneutil Accept that it's too much work to defer light manager creation in the CS and instead use something akin to the old approach 2024-02-24 16:59:11 +00:00
sdlutil Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
serialization Add missing array include 2023-07-29 00:29:03 +02:00
settings Add option to use camera as sound listener 2024-02-13 09:18:18 +00:00
shader Get the GLExtensions instance when a context is created 2024-02-23 00:15:23 +00:00
sqlite3 Minor header cleanup 2023-04-30 16:26:03 +02:00
std140 Add missing array include 2023-07-29 00:29:03 +02:00
stereo Do not copy due to auto misuse 2024-01-07 18:52:10 +04:00
terrain Don't use height cull callback when there's no terrain 2024-01-19 12:24:15 +03:00
to_utf8 Address feedback 2024-01-17 18:10:42 +01:00
translation Use string_view in more UI code 2023-05-21 18:14:12 +02:00
version Open matching version of documentation for Launcher Help 2024-02-25 18:20:40 +01:00
vfs Build localization path using VFS::Path::Normalized 2024-03-09 00:21:17 +01:00
widgets Pass some arguments by references 2024-02-01 10:02:15 +04:00
CMakeLists.txt Add option to disable precompiled headers 2024-03-08 02:11:51 +01:00
doc.hpp