Describe the bug
A clear and concise description of what the bug is.
build failed on ubuntu 23 with gcc 13. information:
[ 22%] Building CXX object src/observer/CMakeFiles/observer_static.dir/storage/trx/latch_memo.cpp.o
In file included from /root/miniob/src/observer/storage/buffer/page.h:17,
from /root/miniob/src/observer/storage/trx/latch_memo.h:21,
from /root/miniob/src/observer/storage/trx/latch_memo.cpp:15:
/root/miniob/src/observer/common/types.h:19:17: error: 'int32_t' does not name a type
19 | using PageNum = int32_t;
| ^~~~~~~
/root/miniob/src/observer/common/types.h:1:1: note: 'int32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
+++ |+#include <cstdint>
1 | /* Copyright (c) 2021 OceanBase and/or its affiliates. All rights reserved.
/root/miniob/src/observer/common/types.h:23:17: error: 'int32_t' does not name a type
23 | using SlotNum = int32_t;
Environment
Environment Details sometimes important
Describe the bug A clear and concise description of what the bug is.
build failed on ubuntu 23 with gcc 13. information:
Environment Environment Details sometimes important