Skip to content

Code update

Code update #176

Triggered via pull request July 10, 2024 18:24
Status Cancelled
Total duration 10m 40s
Artifacts

ci-build.yml

on: pull_request
Matrix: linux
Matrix: macos
Matrix: msys2
Matrix: windows
Check Annotations
2s
Check Annotations
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 96 warnings
Mac OS (arm64)
Process completed with exit code 8.
Linux (Clang - Debug)
Process completed with exit code 8.
Windows (windows-latest / x64)
Process completed with exit code 8.
Linux (GCC - SDL2)
Process completed with exit code 8.
Linux (GCC - SDL1.2)
Process completed with exit code 8.
Windows (windows-latest / x86)
Process completed with exit code 8.
MinGW (x86_64)
Canceling since a higher priority waiting request for 'CI-refs/pull/37/merge' exists
MinGW (x86_64)
The operation was canceled.
MinGW (i686)
Canceling since a higher priority waiting request for 'CI-refs/pull/37/merge' exists
MinGW (i686)
The operation was canceled.
Linux (Clang - Release)
Canceling since a higher priority waiting request for 'CI-refs/pull/37/merge' exists
Linux (Clang - Release)
The operation was canceled.
Check Annotations
108 annotation(s) found
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L1083
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L1181
'OnQueryTextFinished' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L1227
'OnClick' overrides a member function but is not marked 'override' [-Wsuggest-override]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L1263
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L1357
variable 'active' set but not used [-Wunused-but-set-variable]
Mac OS (arm64): src/citymania/cm_commands_gui.cpp#L83
unused variable 'INI_SERVER_KEYS' [-Wunused-const-variable]
Mac OS (arm64): src/citymania/cm_command_log.cpp#L42
format specifies type 'unsigned long' but the argument has type 'TimerGameTick::TickCounter' (aka 'unsigned long long') [-Wformat]
Mac OS (arm64): src/video/cocoa/cocoa_v.mm#L478
unused variable 'old_ctrl_pressed' [-Wunused-variable]
Emscripten: src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Emscripten: src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Emscripten: src/citymania/cm_commands_gui.cpp#L1083
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Emscripten: src/citymania/cm_commands_gui.cpp#L1181
'OnQueryTextFinished' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Emscripten: src/citymania/cm_commands_gui.cpp#L1227
'OnClick' overrides a member function but is not marked 'override' [-Wsuggest-override]
Emscripten: src/citymania/cm_commands_gui.cpp#L1263
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Emscripten: src/citymania/cm_commands_gui.cpp#L1357
variable 'active' set but not used [-Wunused-but-set-variable]
Emscripten: src/citymania/cm_commands_gui.cpp#L83
unused variable 'INI_SERVER_KEYS' [-Wunused-const-variable]
Emscripten: src/citymania/cm_command_log.cpp#L42
format specifies type 'unsigned long' but the argument has type 'TimerGameTick::TickCounter' (aka 'unsigned long long') [-Wformat]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L1083
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L1181
'OnQueryTextFinished' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L1227
'OnClick' overrides a member function but is not marked 'override' [-Wsuggest-override]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L1263
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L1357
variable 'active' set but not used [-Wunused-but-set-variable]
Linux (Clang - Debug): src/citymania/cm_commands_gui.cpp#L83
unused variable 'INI_SERVER_KEYS' [-Wunused-const-variable]
Linux (Clang - Debug): src/video/allegro_v.cpp#L466
unused variable 'old_ctrl_pressed' [-Wunused-variable]
Windows (windows-latest / x64): src/citymania/cm_bitstream.cpp#L54
'return': conversion from 'size_t' to 'uint', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_export.cpp#L464
'=': conversion from 'size_t' to 'uint', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_base64.cpp#L85
'initializing': conversion from 'size_t' to 'int', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_base64.cpp#L96
'=': conversion from 'size_t' to 'unsigned char', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_base64.cpp#L113
'=': conversion from 'size_t' to 'unsigned char', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_cargo_table_gui.cpp#L91
'=': conversion from 'size_t' to 'uint', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_commands.cpp#L189
'return': conversion from 'size_t' to 'uint', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_command_log.cpp#L42
'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 2 has type 'TimerGameTick::TickCounter'
Windows (windows-latest / x64): src/citymania/cm_highlight.cpp#L600
'argument': conversion from 'size_t' to 'byte', possible loss of data
Windows (windows-latest / x64): src/citymania/cm_highlight.cpp#L1430
'<': unsafe use of type 'bool' in operation
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L244
redundant redeclaration of ‘void citymania::ShowServerButtons(int, int, int)’ in same scope [-Wredundant-decls]
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L913
statement has no effect [-Wunused-value]
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L913
statement has no effect [-Wunused-value]
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L1083
‘virtual void citymania::AdminCompanyButtonsWindow::OnClick(Point, int, int)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L1181
‘virtual void citymania::AdminCompanyButtonsWindow::OnQueryTextFinished(char*)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L1227
‘virtual void citymania::JoinLastServerWindow::OnClick(Point, int, int)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL2): src/citymania/cm_commands_gui.cpp#L1263
‘virtual void citymania::ServerButtonsWindow::OnClick(Point, int, int)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL2): src/video/allegro_v.cpp#L466
unused variable ‘old_ctrl_pressed’ [-Wunused-variable]
Linux (GCC - SDL2): src/company_gui.cpp#L2389
this statement may fall through [-Wimplicit-fallthrough=]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L244
redundant redeclaration of ‘void citymania::ShowServerButtons(int, int, int)’ in same scope [-Wredundant-decls]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L913
statement has no effect [-Wunused-value]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L913
statement has no effect [-Wunused-value]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L1083
‘virtual void citymania::AdminCompanyButtonsWindow::OnClick(Point, int, int)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L1181
‘virtual void citymania::AdminCompanyButtonsWindow::OnQueryTextFinished(char*)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L1227
‘virtual void citymania::JoinLastServerWindow::OnClick(Point, int, int)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL1.2): src/citymania/cm_commands_gui.cpp#L1263
‘virtual void citymania::ServerButtonsWindow::OnClick(Point, int, int)’ can be marked override [-Wsuggest-override]
Linux (GCC - SDL1.2): src/video/allegro_v.cpp#L466
unused variable ‘old_ctrl_pressed’ [-Wunused-variable]
Linux (GCC - SDL1.2): src/video/sdl_v.cpp#L655
unused variable ‘old_ctrl_pressed’ [-Wunused-variable]
Linux (GCC - SDL1.2): src/company_gui.cpp#L2389
this statement may fall through [-Wimplicit-fallthrough=]
Windows (windows-latest / x86): src/citymania/cm_base64.cpp#L96
'=': conversion from 'size_t' to 'unsigned char', possible loss of data
Windows (windows-latest / x86): src/citymania/cm_base64.cpp#L113
'=': conversion from 'size_t' to 'unsigned char', possible loss of data
Windows (windows-latest / x86): src/citymania/cm_command_log.cpp#L42
'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 2 has type 'TimerGameTick::TickCounter'
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L600
'argument': conversion from 'size_t' to 'byte', possible loss of data
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L1430
'<': unsafe use of type 'bool' in operation
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L1431
'<': unsafe use of type 'bool' in operation
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L1432
'<': unsafe use of type 'bool' in operation
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L1433
'<': unsafe use of type 'bool' in operation
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L1434
'==': unsafe mix of type 'uint8_t' and type 'bool' in operation
Windows (windows-latest / x86): src/citymania/cm_highlight.cpp#L1434
'==': unsafe mix of type 'uint8_t' and type 'bool' in operation
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/vehicle_base.h#L1099
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (x86_64): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/vehicle_base.h#L1099
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
MinGW (i686): src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L913
expression result unused [-Wunused-value]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L1083
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L1181
'OnQueryTextFinished' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L1227
'OnClick' overrides a member function but is not marked 'override' [-Wsuggest-override]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L1263
'OnClick' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L1357
variable 'active' set but not used [-Wunused-but-set-variable]
Linux (Clang - Release): src/citymania/cm_commands_gui.cpp#L83
unused variable 'INI_SERVER_KEYS' [-Wunused-const-variable]
Linux (Clang - Release): src/video/allegro_v.cpp#L466
unused variable 'old_ctrl_pressed' [-Wunused-variable]