12.05.2015, 19:07
Got this when compilling 2.7.6 on Debian:
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++ /ObjC++ but not for C [enabled by default]
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetVehicleVelocity’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘Z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6517:8: note: ‘Z_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetVehicleDamageStatus’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘tires_’ may be used uninitialized in th is function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6575:8: note: ‘tires_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘lights_’ may be used uninitialized in t his function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6574:8: note: ‘lights_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘doors_’ may be used uninitialized in th is function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6573:8: note: ‘doors_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘panels_’ may be used uninitialized in t his function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6572:8: note: ‘panels_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetVehicleModelInfo’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘Z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6647:8: note: ‘Z_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘Y_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6646:8: note: ‘Y_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘X_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6645:8: note: ‘X_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetObjectPos’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6784:8: note: ‘z_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘y_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6783:8: note: ‘y_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘x_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6782:8: note: ‘x_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetPlayerObjectPos’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7070:8: note: ‘z_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetPlayerObjectRot’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘rotZ_’ may be used uninitialized in thi s function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7114:8: note: ‘rotZ_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘rotY_’ may be used uninitialized in thi s function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7113:8: note: ‘rotY_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘rotX_’ may be used uninitialized in thi s function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7112:8: note: ‘rotX_’ was declared here
amxplugin.cpp
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++ /ObjC++ but not for C [enabled by default]
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetVehicleVelocity’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘Z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6517:8: note: ‘Z_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetVehicleDamageStatus’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘tires_’ may be used uninitialized in th is function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6575:8: note: ‘tires_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘lights_’ may be used uninitialized in t his function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6574:8: note: ‘lights_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘doors_’ may be used uninitialized in th is function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6573:8: note: ‘doors_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘panels_’ may be used uninitialized in t his function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6572:8: note: ‘panels_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetVehicleModelInfo’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘Z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6647:8: note: ‘Z_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘Y_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6646:8: note: ‘Y_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘X_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6645:8: note: ‘X_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetObjectPos’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6784:8: note: ‘z_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘y_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6783:8: note: ‘y_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘x_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:6782:8: note: ‘x_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetPlayerObjectPos’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘z_’ may be used uninitialized in this f unction [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7070:8: note: ‘z_’ was declared here
lib/sampgdk/sampgdk.c: In function ‘sampgdk_GetPlayerObjectRot’:
lib/sampgdk/sampgdk.c:2092:30: warning: ‘rotZ_’ may be used uninitialized in thi s function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7114:8: note: ‘rotZ_’ was declared here
lib/sampgdk/sampgdk.c:2092:30: warning: ‘rotY_’ may be used uninitialized in thi s function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7113:8: note: ‘rotY_’ was declared here
lib/sampgdk/sampgdk.c:2045:47: warning: ‘rotX_’ may be used uninitialized in thi s function [-Wmaybe-uninitialized]
lib/sampgdk/sampgdk.c:7112:8: note: ‘rotX_’ was declared here
amxplugin.cpp