Fix build with GCC 13.1.1

openmw/apps/openmw/mwinput/controlswitch.hpp:32:49: error: ‘uint32_t’ has not been declared
   32 |         void readRecord(ESM::ESMReader& reader, uint32_t type);
      |                                                 ^~~~~~~~

openmw/apps/esmtool/labels.hpp:63:25: error: ‘uint32_t’ was not declared in this scope
   63 | std::string recordFlags(uint32_t flags);
      |                         ^~~~~~~~

openmw/components/detournavigator/recastmesh.hpp:91:14: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
   91 |         std::uint8_t mLength;
      |              ^~~~~~~
      |              wint_t

openmw/components/platform/file.hpp:9:23: error: found ‘:’ in nested-name-specifier, expected ‘::’
    9 |     enum class Handle : intptr_t
      |                       ^
      |                       ::

openmw/components/settings/settings.hpp:63:21: error: ‘int64_t’ in namespace ‘std’ does not name a type
   63 |         static std::int64_t getInt64(std::string_view setting, std::string_view category);
      |                     ^~~~~~~

openmw/components/esm/common.cpp:5:38: error: ‘uint32_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
    5 |     std::string printName(const std::uint32_t typeId)
      |                                      ^~~~~~~~
      |                                      wint_t
backport_gl_clamp_removal
elsid 12 months ago
parent 3ffe773105
commit c7b95d1c9e
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -2,6 +2,7 @@
#define OPENMW_ESMTOOL_LABELS_H
#include <string>
#include <cstdint>
std::string bodyPartLabel(int idx);
std::string meshPartLabel(int idx);

@ -4,6 +4,7 @@
#include <map>
#include <string>
#include <string_view>
#include <cstdint>
namespace ESM
{

@ -17,6 +17,7 @@
#include <vector>
#include <tuple>
#include <numeric>
#include <cstdint>
namespace DetourNavigator
{

@ -1,4 +1,6 @@
#include "sstream"
#include "common.hpp"
#include <sstream>
namespace ESM
{

@ -3,6 +3,7 @@
#include <cstdlib>
#include <string_view>
#include <cstdint>
namespace Platform::File {

@ -8,6 +8,7 @@
#include <string>
#include <string_view>
#include <vector>
#include <cstdint>
#include <osg/Vec2f>
#include <osg/Vec3f>

Loading…
Cancel
Save