Skip to content

chore: Eradicate C-style casts and further clean up some code #3023

chore: Eradicate C-style casts and further clean up some code

chore: Eradicate C-style casts and further clean up some code #3023

Re-run triggered December 27, 2023 01:12
Status Success
Total duration 9m 6s
Artifacts 2

build-and-test.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
Build & Test (macos-11): dCommon/Metrics.cpp#L243
unknown type name 'task_info'; did you mean 'task_info_t'?
Build & Test (macos-11): dCommon/Metrics.cpp#L244
static_cast from 'struct mach_task_basic_info *' to 'task_info_t' (aka 'int *') is not allowed
Build & Test (macos-11)
run-cmake action execution failed: 'Error: "'/usr/local/bin/cmake' failed with error code: '2'.'
Build & Test (ubuntu-20.04): thirdparty/libbcrypt/src/wrapper.c#L257
implicit declaration of function ‘strdup’; did you mean ‘strcmp’? [-Wimplicit-function-declaration]
Build & Test (ubuntu-20.04): thirdparty/libbcrypt/src/wrapper.c#L257
assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Build & Test (macos-11): thirdparty/SQLite/sqlite3.c#L20294
'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations]
Build & Test (macos-11): thirdparty/mariadb-connector-cpp/src/logger/LoggerFactory.cpp#L28
variable 'NO_LOGGER' is uninitialized when used within its own initialization [-Wuninitialized]
Build & Test (macos-11): thirdparty/mariadb-connector-cpp/src/logger/LoggerFactory.cpp#L28
variable 'NO_LOGGER' is uninitialized when used within its own initialization [-Wuninitialized]

Artifacts

Produced during runtime
Name Size
build-ubuntu-20.04 Expired
137 MB
build-windows-2022 Expired
100 MB