Skip to content

Add missing const across the code base #7193

Add missing const across the code base

Add missing const across the code base #7193

Triggered via pull request January 10, 2024 09:43
Status Failure
Total duration 33m 12s
Artifacts 6

CI_windows.yml

on: pull_request
Matrix: windows-build
Trigger Info Update
0s
Trigger Info Update
Matrix: upload-debug-symbols
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 10 warnings
x86 [LLVM_MINGW]: src/ai.cpp#L1270
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1272
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1297
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1303
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1303
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1305
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1318
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1318
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]: src/ai.cpp#L1320
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
x86 [LLVM_MINGW]
Process completed with exit code 1.
arm64 [LLVM_MINGW]: src/ai.cpp#L1270
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1272
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1297
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1303
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1303
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1305
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1318
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1318
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]: src/ai.cpp#L1320
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
arm64 [LLVM_MINGW]
Process completed with exit code 1.
x64 [LLVM_MINGW]: src/ai.cpp#L1270
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1272
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1297
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1303
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1303
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1305
cast from 'const BASE_OBJECT *' to 'DROID *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1318
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1318
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]: src/ai.cpp#L1320
cast from 'const BASE_OBJECT *' to 'STRUCTURE *' drops const qualifier [-Werror,-Wcast-qual]
x64 [LLVM_MINGW]
Process completed with exit code 1.
x86 [LLVM_MINGW]
No files were found with the provided path: D:\a\warzone2100\warzone2100\output\error_logs. No artifacts will be uploaded.
x86 [LLVM_MINGW]
unknown pragma ignored [-Wunknown-pragmas]
x86 [LLVM_MINGW]
unknown pragma ignored [-Wunknown-pragmas]
x86 [LLVM_MINGW]
unknown pragma ignored [-Wunknown-pragmas]
arm64 [LLVM_MINGW]
No files were found with the provided path: D:\a\warzone2100\warzone2100\output\error_logs. No artifacts will be uploaded.
arm64 [LLVM_MINGW]
unknown pragma ignored [-Wunknown-pragmas]
arm64 [LLVM_MINGW]
unknown pragma ignored [-Wunknown-pragmas]
arm64 [LLVM_MINGW]
unknown pragma ignored [-Wunknown-pragmas]
x64 [LLVM_MINGW]
'_WIN32_WINNT' macro redefined [-Wmacro-redefined]
x64 [LLVM_MINGW]
No files were found with the provided path: D:\a\warzone2100\warzone2100\output\error_logs. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
warzone2100_win_msvc_x64_DEBUGSYMBOLS Expired
33.9 MB
warzone2100_win_msvc_x64_installer Expired
327 MB
warzone2100_win_msvc_x64_portable Expired
326 MB
warzone2100_win_msvc_x86_DEBUGSYMBOLS Expired
33.5 MB
warzone2100_win_msvc_x86_installer Expired
326 MB
warzone2100_win_msvc_x86_portable Expired
325 MB