Implement dock building preview #191
Annotations
4 errors and 70 warnings
Windows (windows-latest / x86):
src/citymania/cm_station_gui.cpp#L939
'citymania::DockPreview::Execute': must return a value
|
Windows (windows-latest / x86)
Process completed with exit code 1.
|
Windows (windows-latest / x64):
src/citymania/cm_station_gui.cpp#L939
'citymania::DockPreview::Execute': must return a value
|
Windows (windows-latest / x64)
Process completed with exit code 1.
|
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#L795
'argument': conversion from 'size_t' to 'byte', possible loss of data
|
Windows (windows-latest / x86):
src/citymania/cm_highlight.cpp#L1648
'<': unsafe use of type 'bool' in operation
|
Windows (windows-latest / x86):
src/citymania/cm_highlight.cpp#L1649
'<': unsafe use of type 'bool' in operation
|
Windows (windows-latest / x86):
src/citymania/cm_highlight.cpp#L1650
'<': unsafe use of type 'bool' in operation
|
Windows (windows-latest / x86):
src/citymania/cm_highlight.cpp#L1651
'<': unsafe use of type 'bool' in operation
|
Windows (windows-latest / x86):
src/citymania/cm_highlight.cpp#L1652
'==': unsafe mix of type 'uint8_t' and type 'bool' in operation
|
Windows (windows-latest / x86):
src/citymania/cm_highlight.cpp#L1652
'==': unsafe mix of type 'uint8_t' and type 'bool' in operation
|
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_commands_gui.cpp#L623
'initializing': conversion from 'size_t' to 'int', possible loss of data
|
Windows (windows-latest / x64):
src/citymania/cm_commands_gui.cpp#L645
'argument': conversion from 'size_t' to 'unsigned int', 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'
|
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/citymania/cm_station_gui.cpp#L937
unused parameter 'remove_mode' [-Wunused-parameter]
|
Mac OS (arm64):
src/citymania/cm_station_gui.cpp#L939
non-void function does not return a value [-Wreturn-type]
|
Mac OS (arm64):
src/citymania/cm_station_gui.cpp#L941
unused parameter 'palette' [-Wunused-parameter]
|
Mac OS (arm64):
src/citymania/cm_station_gui.cpp#L1244
moving a temporary object prevents copy elision [-Wpessimizing-move]
|
Mac OS (arm64):
src/video/cocoa/cocoa_v.mm#L478
unused variable 'old_ctrl_pressed' [-Wunused-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]
|
Emscripten:
src/citymania/cm_station_gui.cpp#L937
unused parameter 'remove_mode' [-Wunused-parameter]
|
Emscripten:
src/citymania/cm_station_gui.cpp#L939
non-void function does not return a value [-Wreturn-type]
|
Emscripten:
src/citymania/cm_station_gui.cpp#L941
unused parameter 'palette' [-Wunused-parameter]
|
Emscripten:
src/citymania/cm_station_gui.cpp#L1244
moving a temporary object prevents copy elision [-Wpessimizing-move]
|
Linux (Clang - Debug):
src/citymania/cm_station_gui.cpp#L937
unused parameter 'remove_mode' [-Wunused-parameter]
|
Linux (Clang - Debug):
src/citymania/cm_station_gui.cpp#L939
non-void function does not return a value [-Wreturn-type]
|
Linux (Clang - Debug):
src/citymania/cm_station_gui.cpp#L941
unused parameter 'palette' [-Wunused-parameter]
|
Linux (Clang - Debug):
src/citymania/cm_station_gui.cpp#L1244
moving a temporary object prevents copy elision [-Wpessimizing-move]
|
Linux (Clang - Debug):
src/video/allegro_v.cpp#L466
unused variable 'old_ctrl_pressed' [-Wunused-variable]
|
Linux (GCC - SDL2):
src/citymania/cm_station_gui.cpp#L939
no return statement in function returning non-void [-Wreturn-type]
|
Linux (GCC - SDL2):
src/citymania/cm_station_gui.cpp#L937
unused parameter ‘remove_mode’ [-Wunused-parameter]
|
Linux (GCC - SDL2):
src/citymania/cm_station_gui.cpp#L941
unused parameter ‘palette’ [-Wunused-parameter]
|
Linux (GCC - SDL2):
src/video/allegro_v.cpp#L466
unused variable ‘old_ctrl_pressed’ [-Wunused-variable]
|
Linux (GCC - SDL1.2):
src/citymania/cm_station_gui.cpp#L939
no return statement in function returning non-void [-Wreturn-type]
|
Linux (GCC - SDL1.2):
src/citymania/cm_station_gui.cpp#L937
unused parameter ‘remove_mode’ [-Wunused-parameter]
|
Linux (GCC - SDL1.2):
src/citymania/cm_station_gui.cpp#L941
unused parameter ‘palette’ [-Wunused-parameter]
|
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 (Clang - Release):
src/citymania/cm_station_gui.cpp#L937
unused parameter 'remove_mode' [-Wunused-parameter]
|
Linux (Clang - Release):
src/citymania/cm_station_gui.cpp#L939
non-void function does not return a value [-Wreturn-type]
|
Linux (Clang - Release):
src/citymania/cm_station_gui.cpp#L941
unused parameter 'palette' [-Wunused-parameter]
|
Linux (Clang - Release):
src/citymania/cm_station_gui.cpp#L1244
moving a temporary object prevents copy elision [-Wpessimizing-move]
|
Linux (Clang - Release):
src/video/allegro_v.cpp#L466
unused variable 'old_ctrl_pressed' [-Wunused-variable]
|
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]
|
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 (x86_64):
src/base_station_base.h#L229
template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
|