fix compiler error
Some checks failed
android / build (push) Successful in 5m52s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 6m16s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 7m59s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 11m42s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 8m25s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 9m46s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 5m33s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 4m45s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 14m4s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 5m43s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 12m5s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 13m48s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 5m54s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 12m34s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 4m20s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 4m39s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 10m3s

This commit is contained in:
tqcq 2024-06-14 11:32:21 +08:00
parent 3ee740d0bd
commit 231e74c749
2 changed files with 5 additions and 3 deletions

View File

@ -78,6 +78,7 @@ set(gflags_DIR "${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags")
add_subdirectory("third_party/glog")
set(CURL_DISABLE_TESTS ON)
set(CURL_CA_PATH "none" CACHE STRING "" FORCE)
set(CURL_ENABLE_SSL
OFF
CACHE BOOL "" FORCE)

View File

@ -10,7 +10,8 @@
#include <memory>
struct tile_ucontext_t;
struct fcontext_transfer;
// struct fcontext_transfer;
typedef struct fcontext_transfer fcontext_transfer_t;
namespace tile {
namespace fiber {
@ -48,8 +49,8 @@ private:
struct FiberContext;
friend class ::tile::PoolTraits<FiberContext>;
friend void FiberEntry(struct fcontext_transfer);
friend struct fcontext_transfer FiberOnTop(struct fcontext_transfer);
friend void FiberEntry(fcontext_transfer_t);
friend fcontext_transfer_t FiberOnTop(fcontext_transfer_t);
Fiber(std::function<void()> proc = nullptr);