shiiion / Ishiiruka

GNU General Public License v2.0
47 stars 6 forks source link

Compile error on ArchLinux at FpsControls.cpp.o #14

Closed Linskun closed 3 years ago

Linskun commented 3 years ago

Compile stop with error :

/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:661:10: warning: enumeration value ‘MENU’ not handled in switch [-Wswitch]
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:661:10: warning: enumeration value ‘MENU_PRIME_1’ not handled in switch [-Wswitch]
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:661:10: warning: enumeration value ‘MENU_PRIME_2’ not handled in switch [-Wswitch]
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:661:10: warning: enumeration value ‘PRIME_1_GCN’ not handled in switch [-Wswitch]
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:661:10: warning: enumeration value ‘PRIME_2_GCN’ not handled in switch [-Wswitch]
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:661:10: warning: enumeration value ‘MAX_VAL’ not handled in switch [-Wswitch]
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp: In member function ‘virtual bool prime::FpsControls::init_mod(prime::Game, prime::Region)’:
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:673:10: warning: enumeration value ‘INVALID_GAME’ not handled in switch [-Wswitch]
  673 |   switch (game) {
      |          ^
/home/user/Games/primehack-ishiiruka/Source/Core/Core/PrimeHack/Mods/FpsControls.cpp:673:10: warning: enumeration value ‘MENU’ not handled in switch [-Wswitch]
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:3059: Source/Core/Core/CMakeFiles/core.dir/PrimeHack/Mods/FpsControls.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1148: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:171: all] Error 2

I've attached the full log

Software information OS: Arch Linux x86_64 Resolution: 1920x1080 Dm/Wm: GNOME gcc (GCC) 10.2.0

System information

primehack-ishiiruka_compile_error.log

SirMangler commented 3 years ago

Unfortunately we cannot test Arch. Hopefully this is the end of it's complaints for now. https://github.com/shiiion/Ishiiruka/commit/ad3d542896425d838d1f70bbe4da0e0b46d45869