1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 21:36:44 +00:00
openmw/components/files
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
..
androidpath.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
androidpath.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
collections.cpp Drop support for --fs-strict 2023-06-08 21:10:09 +02:00
collections.hpp Drop support for --fs-strict 2023-06-08 21:10:09 +02:00
configfileparser.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
configfileparser.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
configurationmanager.cpp Localize Launcher and Wizard 2024-02-01 09:47:25 +04:00
configurationmanager.hpp Join path components using path::operator/ instead of string::operator+ 2023-01-27 01:07:15 +01:00
constrainedfilestream.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
constrainedfilestream.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
constrainedfilestreambuf.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
constrainedfilestreambuf.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
conversion.cpp Add new functions and overloads to support std::u8string and std::filesystem::path. 2022-09-11 14:41:20 +02:00
conversion.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
fixedpath.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
hash.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
hash.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
istreamptr.hpp Move Files::IStreamPtr alias to a separate header 2022-07-17 11:35:39 +02:00
linuxpath.cpp Remove strerror usages 2023-01-29 22:41:59 +01:00
linuxpath.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
macospath.cpp Set MacOS current_path before reading configuration files [#7706] 2024-01-11 00:59:27 +00:00
macospath.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
memorystream.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
multidircollection.cpp Drop support for --fs-strict 2023-06-08 21:10:09 +02:00
multidircollection.hpp Drop support for --fs-strict 2023-06-08 21:10:09 +02:00
openfile.cpp Remove strerror usages 2023-01-29 22:41:59 +01:00
openfile.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
qtconfigpath.hpp Join path components using path::operator/ instead of string::operator+ 2023-01-27 01:07:15 +01:00
qtconversion.cpp Added dedicated functions for conversions between QString and std::filesystem::path. 2022-09-11 14:41:21 +02:00
qtconversion.hpp Added dedicated functions for conversions between QString and std::filesystem::path. 2022-09-11 14:41:21 +02:00
streamwithbuffer.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
windowspath.cpp Fixes for a whole bunch of warnings 2024-03-14 23:39:33 +00:00
windowspath.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00