Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alvistack
ceph-ceph-17.2.7
2024-gcc-13.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2024-gcc-13.patch of Package ceph-ceph-17.2.7
diff --git a/src/common/Cycles.h b/src/common/Cycles.h index b546479..8ffc645 100644 --- a/src/common/Cycles.h +++ b/src/common/Cycles.h @@ -29,8 +29,9 @@ */ -#ifndef CEPH_CYCLES_H -#define CEPH_CYCLES_H +#pragma once + +#include <cstdint> #include <cstdint> @@ -114,4 +115,3 @@ private: } }; -#endif // CEPH_CYCLES_H diff --git a/src/common/subsys_types.h b/src/common/subsys_types.h index bd7cc43..6f8fd01 100644 --- a/src/common/subsys_types.h +++ b/src/common/subsys_types.h @@ -54,7 +54,7 @@ ceph_subsys_get_as_array() { #undef DEFAULT_SUBSYS } -constexpr static std::uint8_t +constexpr static uint8_t ceph_subsys_get_max_default_level(const std::size_t subidx) { const auto item = ceph_subsys_get_as_array()[subidx]; return std::max(item.log_level, item.gather_level); diff --git a/src/include/ceph_features.h b/src/include/ceph_features.h index 1287d39..40562cb 100644 --- a/src/include/ceph_features.h +++ b/src/include/ceph_features.h @@ -2,6 +2,7 @@ #define __CEPH_FEATURES #include "sys/types.h" +#include <cstdint> /* * Each time we reclaim bits for reuse we need to specify another diff --git a/src/librbd/api/PoolMetadata.h b/src/librbd/api/PoolMetadata.h index 69ab574..5b3402d 100644 --- a/src/librbd/api/PoolMetadata.h +++ b/src/librbd/api/PoolMetadata.h @@ -10,6 +10,7 @@ #include <cstdint> #include <map> #include <string> +#include <cstdint> namespace librbd { diff --git a/src/msg/async/compression_onwire.h b/src/msg/async/compression_onwire.h index d3b35a4..d71f29a 100644 --- a/src/msg/async/compression_onwire.h +++ b/src/msg/async/compression_onwire.h @@ -45,7 +45,7 @@ namespace ceph::compression::onwire { class TxHandler final : private Handler { public: - TxHandler(CephContext* const cct, CompressorRef compressor, int mode, std::uint64_t min_size) + TxHandler(CephContext* const cct, CompressorRef compressor, int mode, uint64_t min_size) : Handler(cct, compressor), m_min_size(min_size), m_mode(static_cast<Compressor::CompressionMode>(mode)) @@ -98,7 +98,7 @@ namespace ceph::compression::onwire { static rxtx_t create_handler_pair( CephContext* ctx, const CompConnectionMeta& comp_meta, - std::uint64_t compress_min_size); + uint64_t compress_min_size); }; } diff --git a/src/msg/async/crypto_onwire.h b/src/msg/async/crypto_onwire.h index 55f7550..2213c21 100644 --- a/src/msg/async/crypto_onwire.h +++ b/src/msg/async/crypto_onwire.h @@ -95,7 +95,7 @@ public: // Transmitter can append extra bytes of ciphertext at the -final step. // This method return how much was added, and thus let client translate // plaintext size into ciphertext size to grab from wire. - virtual std::uint32_t get_extra_size_at_final() = 0; + virtual uint32_t get_extra_size_at_final() = 0; // Instance of RxHandler must be reset before doing any decrypt-update // step. This applies also to situation when decrypt-final was already diff --git a/src/rocksdb/db/compaction/compaction_iteration_stats.h b/src/rocksdb/db/compaction/compaction_iteration_stats.h index 963c1d8..8d70309 100644 --- a/src/rocksdb/db/compaction/compaction_iteration_stats.h +++ b/src/rocksdb/db/compaction/compaction_iteration_stats.h @@ -6,6 +6,7 @@ #pragma once #include "rocksdb/rocksdb_namespace.h" +#include <cstdint> struct CompactionIterationStats { // Compaction statistics diff --git a/src/rocksdb/include/rocksdb/utilities/checkpoint.h b/src/rocksdb/include/rocksdb/utilities/checkpoint.h index 1b6a740..9e7e1d8 100644 --- a/src/rocksdb/include/rocksdb/utilities/checkpoint.h +++ b/src/rocksdb/include/rocksdb/utilities/checkpoint.h @@ -10,6 +10,7 @@ #include <string> #include <vector> +#include <cstdint> #include "rocksdb/status.h" namespace ROCKSDB_NAMESPACE { diff --git a/src/rocksdb/table/block_based/data_block_hash_index.h b/src/rocksdb/table/block_based/data_block_hash_index.h index f356395..6eaf717 100644 --- a/src/rocksdb/table/block_based/data_block_hash_index.h +++ b/src/rocksdb/table/block_based/data_block_hash_index.h @@ -7,6 +7,7 @@ #include <string> #include <vector> +#include <cstdint> #include "rocksdb/slice.h" diff --git a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h index 573330c..06d45cf 100644 --- a/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h +++ b/src/rocksdb/third-party/folly/folly/synchronization/detail/ProxyLockable-inl.h @@ -13,6 +13,7 @@ #include <memory> #include <mutex> #include <stdexcept> +#include <system_error> #include <utility> namespace folly { diff --git a/src/rocksdb/util/string_util.h b/src/rocksdb/util/string_util.h index 5ff516c..b8845f9 100644 --- a/src/rocksdb/util/string_util.h +++ b/src/rocksdb/util/string_util.h @@ -10,6 +10,7 @@ #include <string> #include <unordered_map> #include <vector> +#include <cstdint> #include "rocksdb/rocksdb_namespace.h" diff --git a/src/test/librados/op_speed.cc b/src/test/librados/op_speed.cc index 849a656..53952bd 100644 --- a/src/test/librados/op_speed.cc +++ b/src/test/librados/op_speed.cc @@ -11,7 +11,7 @@ int main() { for (int i = 0; i < to_create; ++i) { librados::ObjectReadOperation op; bufferlist bl; - std::uint64_t sz; + uint64_t sz; struct timespec tm; std::map<std::string, ceph::buffer::list> xattrs; std::map<std::string, ceph::buffer::list> omap; diff --git a/src/test/mon/test_log_rss_usage.cc b/src/test/mon/test_log_rss_usage.cc index b8ca301..4a29a7d 100644 --- a/src/test/mon/test_log_rss_usage.cc +++ b/src/test/mon/test_log_rss_usage.cc @@ -6,6 +6,7 @@ #include <string> #include <iostream> #include <fstream> +#include <cstdint> #include <stdlib.h> #include <stdio.h> #include <unistd.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor