Skip to content

Cleanup: Fix some warnings #32

Cleanup: Fix some warnings

Cleanup: Fix some warnings #32

Triggered via pull request November 26, 2023 03:20
@glx22glx22
synchronize #27
glx22:cleanup
Status Failure
Total duration 5m 9s
Artifacts

ci-build.yml

on: pull_request
Matrix: Linux
Matrix: Mac OS
Matrix: Windows
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 warnings
Linux (gcc, g++): src/data.cpp#L1242
missing binary operator before token "("
Linux (gcc, g++)
Process completed with exit code 2.
Linux (clang, clang++): src/data.cpp#L1243
__builtin_available does not guard availability here; use if (__builtin_available) instead [-Wunsupported-availability-guard]
Linux (clang, clang++): src/messages.cpp#L76
passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
Linux (clang, clang++): src/sanity.cpp#L155
passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
Mac OS (x64, x86_64): src/md5.cpp#L164
performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
Mac OS (x64, x86_64): src/data.cpp#L1243
__builtin_available does not guard availability here; use if (__builtin_available) instead [-Wunsupported-availability-guard]
Mac OS (x64, x86_64): src/data.cpp#L1247
'fmemopen' is only available on macOS 10.13 or newer [-Wunguarded-availability-new]
Mac OS (x64, x86_64): src/messages.cpp#L76
passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
Mac OS (x64, x86_64): src/sanity.cpp#L155
passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]