mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Fixed compilation failure on gcc 13, added includes where integers used and include was missing. All tests run file
This commit is contained in:
parent
297b331435
commit
6fca326402
@ -24,6 +24,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/xlnt_config.hpp>
|
||||
|
||||
@ -35,8 +36,8 @@ namespace xlnt {
|
||||
struct XLNT_API phonetic_run
|
||||
{
|
||||
std::string text;
|
||||
uint32_t start;
|
||||
uint32_t end;
|
||||
std::uint32_t start;
|
||||
std::uint32_t end;
|
||||
bool preserve_space;
|
||||
|
||||
bool operator==(const phonetic_run &other) const;
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/xlnt_config.hpp>
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/xlnt_config.hpp>
|
||||
#include <xlnt/cell/index_types.hpp>
|
||||
|
@ -22,6 +22,7 @@
|
||||
// @author: see AUTHORS file
|
||||
|
||||
#include <exception>
|
||||
#include <cstdint>
|
||||
#include <arrow/api.h>
|
||||
#include <arrow/python/pyarrow.h>
|
||||
#include <pybind11/pybind11.h>
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <locale>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/utils/exceptions.hpp>
|
||||
#include <detail/binary.hpp>
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <cstdint>
|
||||
|
||||
#include <detail/binary.hpp>
|
||||
#include <detail/unicode.hpp>
|
||||
|
@ -22,6 +22,7 @@
|
||||
// @author: see AUTHORS file
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
|
||||
#include <detail/binary.hpp>
|
||||
#include <detail/cryptography/aes.hpp>
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
#include <detail/cryptography/sha.hpp>
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
// @license: http://www.opensource.org/licenses/mit-license.php
|
||||
// @author: see AUTHORS file
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/utils/exceptions.hpp>
|
||||
#include <detail/constants.hpp>
|
||||
#include <detail/cryptography/aes.hpp>
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <numeric> // for std::accumulate
|
||||
#include <sstream>
|
||||
#include <unordered_map>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/cell/cell.hpp>
|
||||
#include <xlnt/cell/comment.hpp>
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <unordered_set>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/cell/cell.hpp>
|
||||
#include <xlnt/cell/hyperlink.hpp>
|
||||
|
@ -43,6 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#include <iterator> // for std::back_inserter
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include <miniz.h>
|
||||
|
||||
#include <xlnt/utils/exceptions.hpp>
|
||||
|
@ -39,6 +39,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/xlnt_config.hpp>
|
||||
#include <xlnt/utils/path.hpp>
|
||||
|
@ -22,6 +22,7 @@
|
||||
// @author: see AUTHORS file
|
||||
#include <cmath>
|
||||
#include <ctime>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/utils/time.hpp>
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
// @author: see AUTHORS file
|
||||
#include <cmath>
|
||||
#include <ctime>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/utils/timedelta.hpp>
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
// @license: http://www.opensource.org/licenses/mit-license.php
|
||||
// @author: see AUTHORS file
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/utils/datetime.hpp>
|
||||
#include <xlnt/utils/variant.hpp>
|
||||
|
||||
@ -42,7 +44,7 @@ variant::variant(const char *value)
|
||||
{
|
||||
}
|
||||
|
||||
variant::variant(int32_t value)
|
||||
variant::variant(std::int32_t value)
|
||||
: type_(type::i4),
|
||||
i4_value_(value)
|
||||
{
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/cell/cell.hpp>
|
||||
#include <xlnt/cell/cell_reference.hpp>
|
||||
|
@ -21,6 +21,8 @@
|
||||
// @license: http://www.opensource.org/licenses/mit-license.php
|
||||
// @author: see AUTHORS file
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include <xlnt/utils/variant.hpp>
|
||||
#include <helpers/test_suite.hpp>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user