Skip to content

Added comments and undid unnecessary changes #3

Added comments and undid unnecessary changes

Added comments and undid unnecessary changes #3

Triggered via push September 5, 2024 15:53
Status Failure
Total duration 1m 24s
Artifacts

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 80 warnings
build (linux-amd64)
function declaration isn't a prototype [-Werror=strict-prototypes]
build (linux-amd64)
Process completed with exit code 1.
build (qvm)
Process completed with exit code 1.
build (linux-aarch64)
function declaration isn't a prototype [-Werror=strict-prototypes]
build (linux-aarch64)
Process completed with exit code 1.
build (linux-armhf)
function declaration isn't a prototype [-Werror=strict-prototypes]
build (linux-armhf)
Process completed with exit code 1.
build (linux-i686)
function declaration isn't a prototype [-Werror=strict-prototypes]
build (linux-i686)
Process completed with exit code 1.
build (windows-x64)
function declaration isn't a prototype [-Werror=strict-prototypes]
build (windows-x64)
Process completed with exit code 1.
verify-macos: src/runes.c#L102
call to undeclared function 'BotsRuneDropped'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
verify-macos: src/runes.c#L166
call to undeclared function 'BotsRuneDropped'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
verify-macos
Process completed with exit code 65.
build (windows-x86)
function declaration isn't a prototype [-Werror=strict-prototypes]
build (windows-x86)
Process completed with exit code 1.
verify-msvc
Process completed with exit code 1.
build (linux-amd64)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-amd64)
unused variable 'ok_to_fire' [-Wunused-variable]
build (linux-amd64)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-amd64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-amd64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-amd64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-amd64)
implicit declaration of function 'TossFlag' [-Wimplicit-function-declaration]
build (linux-amd64)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-amd64)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-amd64)
no return statement in function returning non-void [-Wreturn-type]
build (linux-aarch64)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-aarch64)
unused variable 'ok_to_fire' [-Wunused-variable]
build (linux-aarch64)
implicit declaration of function 'TossFlag' [-Wimplicit-function-declaration]
build (linux-aarch64)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-aarch64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-aarch64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-aarch64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-aarch64)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-aarch64)
no return statement in function returning non-void [-Wreturn-type]
build (linux-aarch64)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-armhf)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-armhf)
unused variable 'ok_to_fire' [-Wunused-variable]
build (linux-armhf)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-armhf)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-armhf)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-armhf)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-armhf)
implicit declaration of function 'TossFlag' [-Wimplicit-function-declaration]
build (linux-armhf)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-armhf)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-armhf)
no return statement in function returning non-void [-Wreturn-type]
build (linux-i686)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-i686)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (linux-i686)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-i686)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-i686)
'return' with no value, in function returning non-void [-Wreturn-type]
build (linux-i686)
unused variable 'ok_to_fire' [-Wunused-variable]
build (linux-i686)
implicit declaration of function 'TossFlag' [-Wimplicit-function-declaration]
build (linux-i686)
no return statement in function returning non-void [-Wreturn-type]
build (linux-i686)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (linux-i686)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (windows-x64)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (windows-x64)
implicit declaration of function 'TossFlag' [-Wimplicit-function-declaration]
build (windows-x64)
unused variable 'ok_to_fire' [-Wunused-variable]
build (windows-x64)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (windows-x64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (windows-x64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (windows-x64)
'return' with no value, in function returning non-void [-Wreturn-type]
build (windows-x64)
no return statement in function returning non-void [-Wreturn-type]
build (windows-x64)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (windows-x64)
suggest parentheses around '&&' within '||' [-Wparentheses]
verify-macos: src/world.c#L56
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/world.c#L59
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/world.c#L147
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/world.c#L585
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/weapons.c#L198
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/weapons.c#L441
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/weapons.c#L442
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/weapons.c#L533
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/weapons.c#L824
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
verify-macos: src/weapons.c#L873
implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
build (windows-x86)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (windows-x86)
unused variable 'ok_to_fire' [-Wunused-variable]
build (windows-x86)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (windows-x86)
'return' with no value, in function returning non-void [-Wreturn-type]
build (windows-x86)
'return' with no value, in function returning non-void [-Wreturn-type]
build (windows-x86)
'return' with no value, in function returning non-void [-Wreturn-type]
build (windows-x86)
implicit declaration of function 'TossFlag' [-Wimplicit-function-declaration]
build (windows-x86)
suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
build (windows-x86)
suggest parentheses around '&&' within '||' [-Wparentheses]
build (windows-x86)
no return statement in function returning non-void [-Wreturn-type]
verify-msvc: src/bot_botjump.c#L471
'ok_to_fire': local variable is initialized but not referenced [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_botpath.c#L220
'CheckLookAtButton' must return a value [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_botpath.c#L227
'CheckLookAtButton' must return a value [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_botpath.c#L249
'CheckLookAtButton' must return a value [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_botthink.c#L169
'TossFlag' undefined; assuming extern returning int [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_commands.c#L2169
'previous': local variable is initialized but not referenced [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_commands.c#L2205
'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_items.c#L1169
'void (__cdecl *)(gedict_t *)' differs in parameter lists from 'fb_touch_funcref_t' [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_items.c#L1169
'=': incompatible types - from 'void (__cdecl *)(gedict_t *)' to 'fb_touch_funcref_t' [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]
verify-msvc: src/bot_botweap.c#L536
'SelectWeaponToShootButton': must return a value [D:\a\ktx\ktx\builddir\qwprogs.vcxproj]