Skip to content

Add missing const across the code base #5826

Add missing const across the code base

Add missing const across the code base #5826

Triggered via pull request January 10, 2024 09:43
Status Failure
Total duration 8m 13s
Artifacts

CI_alpine.yml

on: pull_request
Matrix: alpine-latest
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Alpine :LATEST [GCC]: src/ai.cpp#L1270
cast from type 'const BASE_OBJECT*' to type 'DROID*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1272
cast from type 'const BASE_OBJECT*' to type 'DROID*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1297
cast from type 'const BASE_OBJECT*' to type 'DROID*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1303
cast from type 'const BASE_OBJECT*' to type 'DROID*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1303
cast from type 'const BASE_OBJECT*' to type 'DROID*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1305
cast from type 'const BASE_OBJECT*' to type 'DROID*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1318
cast from type 'const BASE_OBJECT*' to type 'STRUCTURE*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1318
cast from type 'const BASE_OBJECT*' to type 'STRUCTURE*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]: src/ai.cpp#L1320
cast from type 'const BASE_OBJECT*' to type 'STRUCTURE*' casts away qualifiers [-Werror=cast-qual]
Alpine :LATEST [GCC]
Process completed with exit code 2.