fix use INTTYPES_FORMAT=C99
Some checks failed
android / build (push) Successful in 4m57s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 5m51s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 8m9s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 5m34s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 7m26s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 7m48s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 6m45s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 9m24s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 8m11s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 10m54s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Has been cancelled
linux-x64-gcc / linux-gcc (Debug) (push) Has been cancelled
linux-x86-gcc / linux-gcc (Release) (push) Has been cancelled
linux-x64-gcc / linux-gcc (Release) (push) Has been cancelled
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Has been cancelled
linux-x86-gcc / linux-gcc (Debug) (push) Has been cancelled
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Has been cancelled
android / build (pull_request) Successful in 6m2s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (pull_request) Failing after 6m13s
linux-arm-gcc / linux-gcc-arm (Debug) (pull_request) Failing after 6m30s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (pull_request) Failing after 6m45s
linux-arm-gcc / linux-gcc-arm (Release) (pull_request) Failing after 7m6s
linux-mips-gcc / linux-gcc-mipsel (Debug) (pull_request) Failing after 7m50s
linux-mips-gcc / linux-gcc-mipsel (Release) (pull_request) Failing after 6m33s
linux-arm-gcc / linux-gcc-armhf (Release) (pull_request) Failing after 11m33s
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Failing after 6m56s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Failing after 7m20s
linux-arm-gcc / linux-gcc-armhf (Debug) (pull_request) Failing after 13m29s
linux-x64-gcc / linux-gcc (Debug) (pull_request) Successful in 6m8s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (pull_request) Failing after 7m58s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (pull_request) Failing after 8m41s
linux-x64-gcc / linux-gcc (Release) (pull_request) Failing after 5m31s
linux-x86-gcc / linux-gcc (Debug) (pull_request) Failing after 5m38s
linux-x86-gcc / linux-gcc (Release) (pull_request) Failing after 5m5s

This commit is contained in:
tqcq 2024-06-13 13:29:31 +08:00
parent 25c5bcbef9
commit 4806dd449e
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ add_subdirectory("third_party/context")
add_subdirectory("third_party/zlib")
add_subdirectory("third_party/fmt")
add_subdirectory("third_party/googletest")
set(INTTYPES_FORMAT "C99")
add_subdirectory("third_party/gflags")
set(GFLAGS_USE_TARGET_NAMESPACE ON)
set(gflags_DIR "${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags")

View File

@ -297,7 +297,7 @@ gflags_define(
"Format of integer types: \"C99\" (uint32_t), \"BSD\" (u_int32_t), \"VC7\" (__int32)"
"")
gflags_property(INTTYPES_FORMAT STRINGS "C99;BSD;VC7")
gflags_property(INTTYPES_FORMAT ADVANCED FALSE)
gflags_property(INTTYPES_FORMAT ADVANCED TRUE)
if(NOT INTTYPES_FORMAT)
set(TYPES uint32_t u_int32_t)
if(MSVC)