Closed orderorder closed 1 month ago
Hopefully it's ok now, let me know :)
penJKDF2_ladyeebs/src/Engine/sithCamera.c: En la función ‘sithCamera_FollowFocus’:
OpenJKDF2_ladyeebs/src/Engine/sithCamera.c:266:58: error: declaración implícita de la función ‘min’; ¿quiso decir ‘fmin’? [-Wimplicit-function-declaration]
266 | float swayTime = min(sithTime_curSeconds, 0.02f) * sithCamera_povWaggleSpeed;
| ^~~
| fmin
make[3]: *** [CMakeFiles/sith_engine.dir/build.make:678: CMakeFiles/sith_engine.dir/src/Engine/sithCamera.c.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
make[2]: *** [CMakeFiles/Makefile2:360: CMakeFiles/sith_engine.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:401: CMakeFiles/openjkdf2.dir/rule] Error 2
make: *** [Makefile:254: openjkdf2] Error 2
OpenJKDF2_ladyeebs/src/Gui/jkGUIJoystick.c: En la función ‘jkGuiJoystick_EnumFunc’:
OpenJKDF2_ladyeebs/src/Gui/jkGUIJoystick.c:580:13: aviso: ‘strncat’ specified bound 32 equals destination size [-Wstringop-overflow=]
580 | strncat(v17, "_A", 0x20u);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
OpenJKDF2_ladyeebs/src/Gui/jkGUIJoystick.c:585:13: aviso: ‘strncat’ specified bound 32 equals destination size [-Wstringop-overflow=]
585 | strncat(v17, "_R", 0x20u);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
OpenJKDF2_ladyeebs/src/Gui/jkGUIJoystick.c:590:13: aviso: ‘strncat’ specified bound 32 equals destination size [-Wstringop-overflow=]
590 | strncat(v17, "_K", 0x20u);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c:34:138: error: inicialización de ‘int *’ desde un tipo de puntero ‘int (*)[2]’ incompatible [-Wincompatible-pointer-types]
34 | { ELEMENT_LISTBOX, 0, 0, NULL, 0, { 20, 170, 370, 216 }, 1, 0, "GUI_CONTROLSLIST_HINT", NULL, &jkGuiKeyboard_ControlListClicked, &jkGuiKeyboard_listbox_images, {0}, 0},
| ^
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c:34:138: nota: (cerca de la inicialización de ‘jkGuiKeyboard_aElements[12].<anónimo>.uiBitmaps’)
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c: En la función ‘jkGuiKeyboard_DIKNumToStr’:
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c:67:12: aviso: la asignación descarta el calificador ‘const’ del tipo del destino del puntero [-Wdiscarded-qualifiers]
67 | v5 = stdControl_aDikNumToStr;
| ^
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c: En la función ‘jkGuiKeyboard_EnumBindings’:
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c:265:25: aviso: la asignación descarta el calificador ‘const’ del tipo del destino del puntero [-Wdiscarded-qualifiers]
265 | v13 = stdControl_aDikNumToStr;
| ^
[ 57%] Building C object CMakeFiles/sith_engine.dir/src/Gui/jkGUIMultiTally.c.o
OpenJKDF2_ladyeebs/src/Gui/jkGUIKeyboard.c:242:163: aviso: ‘strncat’ specified bound 32 equals destination size [-Wstringop-overflow=]
242 | || ((_strncpy(v18, pInputFuncStr, 0x1Fu), v18[31] = 0, (flags & 1) == 0) ? ((flags & 4) == 0 ? (v16 = "_K") : (v16 = "_R"), strncat(v18, v16, 0x20u)) : strncat(v18, "_A", 0x20u),
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/sith_engine.dir/build.make:1354: CMakeFiles/sith_engine.dir/src/Gui/jkGUIKeyboard.c.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
[ 58%] Building C object CMakeFiles/sith_engine.dir/src/Gui/jkGUIMultiplayer.c.o
OpenJKDF2_ladyeebs/src/Gui/jkGUIMap.c:41:36: error: inicialización de ‘jkGuiElement *’ {también conocido como ‘struct jkGuiElement *’} desde un tipo de puntero ‘jkGuiElement (*)[16]’ {también conocido como ‘struct jkGuiElement (*)[16]’} incompatible [-Wincompatible-pointer-types]
41 | static jkGuiMenu jkGuiMap_menu = { &jkGuiMap_aElements, 0, 0xFFFF, 0xFFFF, 15, NULL, NULL, jkGui_stdBitmaps, jkGui_stdFonts, 0, jkGuiMap_sub_415720, "thermloop01.wav", "thrmlpu2.wav", NULL, NULL, NULL, 0, NULL, NULL };
| ^
OpenJKDF2_ladyeebs/src/Gui/jkGUIMap.c:41:36: nota: (cerca de la inicialización de ‘jkGuiMap_menu.paElements’)
make[3]: *** [CMakeFiles/sith_engine.dir/build.make:1382: CMakeFiles/sith_engine.dir/src/Gui/jkGUIMap.c.o] Error 1
OpenJKDF2_ladyeebs/src/Gui/jkGUIMultiplayer.c: En la función ‘jkGuiMultiplayer_Show’:
OpenJKDF2_ladyeebs/src/Gui/jkGUIMultiplayer.c:174:53: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
174 | v4 = stdComm_OpenConnection((void*)jkGuiMultiplayer_aElements2[3].selectedTextEntry);
| ^
OpenJKDF2_ladyeebs/src/Gui/jkGUIMultiplayer.c:236:54: aviso: conversión a puntero desde un entero de tamaño diferente [-Wint-to-pointer-cast]
236 | v17 = stdComm_OpenConnection((void*)jkGuiMultiplayer_aElements2[3].selectedTextEntry);
| ^
OpenJKDF2_ladyeebs/src/Gui/jkGUIMultiplayer.c:343:145: error: se pasa el argumento 2 de ‘__wcscmp’ desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
343 | int check = __wcscmp(jkGuiMultiplayer_aEntries[jkGuiMultiplayer_aElements3[3].selectedTextEntry].wPassword, jkGuiMultiplayer_stru_556168.field_300);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| char *
En el fichero incluido desde OpenJKDF2_ladyeebs/src/stdPlatform.h:5,
desde OpenJKDF2_ladyeebs/src/Gui/jkGUIMultiplayer.c:7:
OpenJKDF2_ladyeebs/src/jk.h:369:47: nota: se esperaba ‘const wchar_t *’ {también conocido como ‘const short unsigned int *’} pero el argumento es de tipo ‘char *’
369 | int __wcscmp(const wchar_t *a, const wchar_t *b);
| ~~~~~~~~~~~~~~~^
make[3]: *** [CMakeFiles/sith_engine.dir/build.make:1438: CMakeFiles/sith_engine.dir/src/Gui/jkGUIMultiplayer.c.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:360: CMakeFiles/sith_engine.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:401: CMakeFiles/openjkdf2.dir/rule] Error 2
make: *** [Makefile:254: openjkdf2] Error 2