Open re-implementation of Medal of Honor: Allied Assault including Spearhead and Breakthrough expansions with modern features and bugfixes from ioquake3 with cross-platform support
In file included from /tmp/openmohaa/code/cgame/cg_local.h:31,
from /tmp/openmohaa/code/cgame/cg_marks.c:26:
/tmp/openmohaa/code/qcommon/../qcommon/q_shared.h:895:52: note: expected ‘vec_t ’ {aka ‘float ’} but argument is of type ‘vec_t ()[3]’ {aka ‘float ()[3]’}
895
~^~~~~
/tmp/openmohaa/code/cgame/cg_marks.c:802:62: error: passing argument 3 of ‘AngleVectorsLeft’ from incompatible pointer type [-Wincompatible-pointer-types]
802
/tmp/openmohaa/code/qcommon/../qcommon/q_shared.h:895:68: note: expected ‘vec_t ’ {aka ‘float ’} but argument is of type ‘vec_t ()[3]’ {aka ‘float ()[3]’}
895
~^~
/tmp/openmohaa/code/cgame/cg_marks.c:802:72: error: passing argument 4 of ‘AngleVectorsLeft’ from incompatible pointer type [-Wincompatible-pointer-types]
802
fails to build on Fedora 41 x86_64 with gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3):
~~~~^~~~~ /tmp/openmohaa/code/cgame/cg_marks.c:802:62: error: passing argument 3 of ‘AngleVectorsLeft’ from incompatible pointer type [-Wincompatible-pointer-types] 802~~~~^~ /tmp/openmohaa/code/cgame/cg_marks.c:802:72: error: passing argument 4 of ‘AngleVectorsLeft’ from incompatible pointer type [-Wincompatible-pointer-types] 802~~~/tmp/openmohaa/code/qcommon/../qcommon/q_shared.h:895:81: note: expected ‘vec_t ’ {aka ‘float ’} but argument is of type ‘vec_t ()[3]’ {aka ‘float ()[3]’} 895 | void AngleVectorsLeft( const vec3_t angles, vec3_t forward, vec3_t left, vec3_t up ); |
~~~^~ [631/675] Building CXX object code/client/cgame/CMakeFiles/cgame.dir/cg_commands.cpp.o ninja: build stopped: subcommand failed.openmohaa_22e7d1e_build_failure_gcc_14.2.1_fedora41_x86_64_20241029.txt