Tinob/Ishiiruka

Fails to compile on Linux

Shijikori opened this issue · 2 comments

I am using Arch Linux, updated as of the date of opening this issue. I added
#include <cmath>
in Source/Core/Core/DSP/DSPDisassembler.cpp because it seems to fix an error with numeric_limits not being part of std.
This allows the compilation to go further until I hit these errors...

[  0%] Built target bdisasm
[  1%] Built target xxhash
[  1%] Built target cpp-optparse
[  1%] Built target pugixml
[  1%] Built target SOIL
[  2%] Built target enet
[  3%] Built target SoundTouch
[  6%] Built target glslang
[  6%] Built target speex
[  6%] Built target xbrz
[  6%] Built target traversal_server
[  6%] Built target unittests_stubhost
[  8%] Built target discio
[  9%] Built target cubeb
[ 14%] Built target common
[ 15%] Built target audiocommon
[ 16%] Built target uicommon
[ 18%] Built target inputcommon
[ 21%] Built target videovulkan
[ 23%] Built target videosoftware
[ 24%] Built target videoogl
[ 31%] Built target videocommon
Consolidate compiler generated dependencies of target core
[ 68%] Built target wx
[ 69%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPJitRegCache.cpp.o                                                                  
[ 68%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPEmitter.cpp.o                                                                      
[ 69%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPJitMultiplier.cpp.o                                                                
[ 69%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPJitUtil.cpp.o                                                                      
[ 69%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPJitMisc.cpp.o                                                                      
[ 69%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/FifoPlayer/FifoDataFile.cpp.o                                                                     
[ 70%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/FifoPlayer/FifoPlaybackAnalyzer.cpp.o                                                             
[ 70%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/FifoPlayer/FifoAnalyzer.cpp.o                                                                     
In file included from /usr/include/stdio.h:33,
                 from /usr/include/c++/11.1.0/cstdio:42,
                 from /usr/include/c++/11.1.0/ext/string_conversions.h:43,
                 from /usr/include/c++/11.1.0/bits/basic_string.h:6594,
                 from /usr/include/c++/11.1.0/string:55,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Common/CommonFuncs.h:8,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Common/Assert.h:8,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Common/x64Emitter.h:15,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.h:9,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:5:
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp: In function 'Gen::OpArg DSP::JIT::x64::GetRegisterPointer(size_t)':
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:38:66: error: 'reg' is not a constant expression
   38 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ar[reg - DSP_REG_AR0])));
      |                                                                  ^~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:43:66: error: 'reg' is not a constant expression
   43 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ix[reg - DSP_REG_IX0])));
      |                                                                  ^~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:48:66: error: 'reg' is not a constant expression
   48 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.wr[reg - DSP_REG_WR0])));
      |                                                                  ^~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:53:66: error: 'reg' is not a constant expression
   53 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.st[reg - DSP_REG_ST0])));
      |                                                                  ^~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:56:66: error: 'reg' is not a constant expression
   56 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ac[reg - DSP_REG_ACH0].h)));
      |                                                                  ^~~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:71:66: error: 'reg' is not a constant expression
   71 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ax[reg - DSP_REG_AXL0].l)));
      |                                                                  ^~~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:74:66: error: 'reg' is not a constant expression
   74 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ax[reg - DSP_REG_AXH0].h)));
      |                                                                  ^~~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:77:66: error: 'reg' is not a constant expression
   77 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ac[reg - DSP_REG_ACL0].l)));
      |                                                                  ^~~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:80:66: error: 'reg' is not a constant expression
   80 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ac[reg - DSP_REG_ACM0].m)));
      |                                                                  ^~~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:83:66: error: 'reg' is not a constant expression
   83 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ax[reg - DSP_REG_AX0_32].val)));
      |                                                                  ^~~~~~~~~~~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPJitRegCache.cpp:86:66: error: 'reg' is not a constant expression
   86 |     return MDisp(R15, static_cast<int>(offsetof(SDSP, r.ac[reg - DSP_REG_ACC0_64].val)));
      |                                                                  ^~~~~~~~~~~~~~~
[ 70%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/FifoPlayer/FifoPlayer.cpp.o                                                                       
[ 70%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/FifoPlayer/FifoRecordAnalyzer.cpp.o                                                               
[ 70%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/FifoPlayer/FifoRecorder.cpp.o                                                                     
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:902: Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPJitRegCache.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/stdio.h:33,
                 from /usr/include/c++/11.1.0/cstdio:42,
                 from /usr/include/c++/11.1.0/ext/string_conversions.h:43,
                 from /usr/include/c++/11.1.0/bits/basic_string.h:6594,
                 from /usr/include/c++/11.1.0/string:55,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Common/CommonFuncs.h:8,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Common/Assert.h:8,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Common/x64Emitter.h:15,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPEmitter.h:14,
                 from /home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp:5:
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp: In member function 'Gen::OpArg DSP::JIT::x64::DSPEmitter::M_SDSP_r_st(size_t)':
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp:481:58: error: 'index' is not a constant expression
  481 |   return MDisp(R15, static_cast<int>(offsetof(SDSP, r.st[index])));
      |                                                          ^~~~~
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp: In member function 'Gen::OpArg DSP::JIT::x64::DSPEmitter::M_SDSP_reg_stack_ptr(size_t)':
/home/mikasu/gits/Ishiiruka/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp:486:67: error: 'index' is not a constant expression
  486 |   return MDisp(R15, static_cast<int>(offsetof(SDSP, reg_stack_ptr[index])));
      |                                                                   ^~~~~
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:888: Source/Core/Core/CMakeFiles/core.dir/DSP/Jit/x64/DSPEmitter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1095: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:156: all] Error 2```

Same problem here:

Scanning dependencies of target bdisasm
[  0%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/dis_decode.cc.o
[  0%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/dis_groups.cc.o
[  0%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/resolve.cc.o
[  0%] Building CXX object Externals/Bochs_disasm/CMakeFiles/bdisasm.dir/syntax.cc.o
[  0%] Linking CXX static library libbdisasm.a
[  0%] Built target bdisasm
Scanning dependencies of target glslang
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/GenericCodeGen/CodeGen.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/GenericCodeGen/Link.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Constant.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/glslang_tab.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/InfoSink.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Initialize.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Intermediate.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/intermOut.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/IntermTraverse.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/limits.cpp.o
[  0%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/linkValidate.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/parseConst.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/ParseHelper.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/PoolAlloc.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/Pp.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpAtom.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpContext.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpMemory.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpScanner.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpSymbols.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/preprocessor/PpTokens.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/propagateNoContraction.cpp.o
[  1%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/reflection.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/RemoveTree.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Scan.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/ShaderLang.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/SymbolTable.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/MachineIndependent/Versions.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/hlsl/hlslGrammar.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/hlsl/hlslOpMap.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/hlsl/hlslParseables.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/hlsl/hlslParseHelper.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/hlsl/hlslScanContext.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/hlsl/hlslTokenStream.cpp.o
[  2%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/OGLCompilersDLL/InitializeDll.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/disassemble.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/doc.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/GlslangToSpv.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/InReadableOrder.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/Logger.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/SpvBuilder.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/SPIRV/SPVRemapper.cpp.o
[  3%] Building CXX object Externals/glslang/CMakeFiles/glslang.dir/glslang/OSDependent/Unix/ossource.cpp.o
[  3%] Linking CXX static library libglslang.a
[  3%] Built target glslang
Scanning dependencies of target pugixml
[  3%] Building CXX object Externals/pugixml/CMakeFiles/pugixml.dir/pugixml.cpp.o
[  3%] Linking CXX static library libpugixml.a
[  3%] Built target pugixml
Scanning dependencies of target cpp-optparse
[  3%] Building CXX object Externals/cpp-optparse/CMakeFiles/cpp-optparse.dir/OptionParser.cpp.o
[  3%] Linking CXX static library libcpp-optparse.a
[  3%] Built target cpp-optparse
Scanning dependencies of target enet
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/callbacks.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/compress.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/host.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/list.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/packet.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/peer.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/protocol.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/unix.c.o
[  3%] Building C object Externals/enet/CMakeFiles/enet.dir/win32.c.o
[  4%] Linking C static library libenet.a
[  4%] Built target enet
Scanning dependencies of target xxhash
[  4%] Building C object Externals/xxhash/CMakeFiles/xxhash.dir/xxhash.c.o
[  5%] Linking C static library libxxhash.a
[  5%] Built target xxhash
Scanning dependencies of target SoundTouch
[  5%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/AAFilter.cpp.o
[  5%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/BPMDetect.cpp.o
[  5%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/cpu_detect_x86.cpp.o
[  5%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/FIFOSampleBuffer.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/FIRFilter.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/InterpolateCubic.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/InterpolateLinear.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/InterpolateShannon.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/mmx_optimized.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/PeakFinder.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/RateTransposer.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/SoundTouch.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/sse_optimized.cpp.o
[  6%] Building CXX object Externals/soundtouch/CMakeFiles/SoundTouch.dir/TDStretch.cpp.o
[  6%] Linking CXX static library libSoundTouch.a
[  6%] Built target SoundTouch
Scanning dependencies of target SOIL
[  6%] Building C object Externals/SOIL/CMakeFiles/SOIL.dir/image_DXT.c.o
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_DXT.c:278:5: warning: no previous declaration for ‘convert_bit_range’ [-Wmissing-declarations]
 int convert_bit_range( int c, int from_bits, int to_bits )
     ^~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_DXT.c:284:5: warning: no previous declaration for ‘rgb_to_565’ [-Wmissing-declarations]
 int rgb_to_565( int r, int g, int b )
     ^~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_DXT.c:292:6: warning: no previous declaration for ‘rgb_888_from_565’ [-Wmissing-declarations]
 void rgb_888_from_565( unsigned int c, int *r, int *g, int *b )
      ^~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_DXT.c:299:6: warning: no previous declaration for ‘compute_color_line_STDEV’ [-Wmissing-declarations]
 void compute_color_line_STDEV(
      ^~~~~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_DXT.c:411:6: warning: no previous declaration for ‘LSE_master_colors_max_min’ [-Wmissing-declarations]
 void LSE_master_colors_max_min(
      ^~~~~~~~~~~~~~~~~~~~~~~~~
[  6%] Building C object Externals/SOIL/CMakeFiles/SOIL.dir/image_helper.c.o
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_helper.c:191:15: warning: no previous declaration for ‘clamp_byte’ [-Wmissing-declarations]
 unsigned char clamp_byte( int x ) { return ( (x) < 0 ? (0) : ( (x) > 255 ? 255 : (x) ) ); }
               ^~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/image_helper.c:313:1: warning: no previous declaration for ‘find_max_RGBE’ [-Wmissing-declarations]
 find_max_RGBE
 ^~~~~~~~~~~~~
[  6%] Building C object Externals/SOIL/CMakeFiles/SOIL.dir/SOIL.c.o
[  6%] Building C object Externals/SOIL/CMakeFiles/SOIL.dir/stb_image_aug.c.o
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c: In function ‘convert_format’:
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:497:10: note: in expansion of macro ‘CASE’
          CASE(1,2) dest[0]=src[0], dest[1]=255; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:497:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(1,2) dest[0]=src[0], dest[1]=255; break;
                                                 ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:498:10: note: in expansion of macro ‘CASE’
          CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:498:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break;
                                                    ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:499:10: note: in expansion of macro ‘CASE’
          CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:499:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break;
                                                                 ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:500:10: note: in expansion of macro ‘CASE’
          CASE(2,1) dest[0]=src[0]; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:500:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(2,1) dest[0]=src[0]; break;
                                    ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:501:10: note: in expansion of macro ‘CASE’
          CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:501:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break;
                                                    ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:502:10: note: in expansion of macro ‘CASE’
          CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:502:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break;
                                                                    ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:503:10: note: in expansion of macro ‘CASE’
          CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:503:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
      CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:504:10: note: in expansion of macro ‘CASE’
          CASE(3,1) dest[0]=compute_y(src[0],src[1],src[2]); break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:504:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(3,1) dest[0]=compute_y(src[0],src[1],src[2]); break;
                                                             ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:505:10: note: in expansion of macro ‘CASE’
          CASE(3,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = 255; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:505:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
        CASE(3,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = 255; break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:506:10: note: in expansion of macro ‘CASE’
          CASE(4,1) dest[0]=compute_y(src[0],src[1],src[2]); break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:506:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(4,1) dest[0]=compute_y(src[0],src[1],src[2]); break;
                                                             ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:507:10: note: in expansion of macro ‘CASE’
          CASE(4,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:507:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
     CASE(4,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:493:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
       #define CASE(a,b)   case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
                                            ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:508:10: note: in expansion of macro ‘CASE’
          CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break;
          ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:508:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break;
                                                                  ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c: In function ‘create_png_image_raw’:
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2135:13: note: in expansion of macro ‘CASE’
             CASE(F_none)  cur[k] = raw[k]; break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2135:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_none)  cur[k] = raw[k]; break;
                                            ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2136:13: note: in expansion of macro ‘CASE’
             CASE(F_sub)   cur[k] = raw[k] + cur[k-img_n]; break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2136:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_sub)   cur[k] = raw[k] + cur[k-img_n]; break;
                                                           ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2137:13: note: in expansion of macro ‘CASE’
             CASE(F_up)    cur[k] = raw[k] + prior[k]; break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2137:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_up)    cur[k] = raw[k] + prior[k]; break;
                                                       ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2138:13: note: in expansion of macro ‘CASE’
             CASE(F_avg)   cur[k] = raw[k] + ((prior[k] + cur[k-img_n])>>1); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2138:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(F_avg)   cur[k] = raw[k] + ((prior[k] + cur[k-img_n])>>1); break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2139:13: note: in expansion of macro ‘CASE’
             CASE(F_paeth)  cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],prior[k],prior[k-img_n])); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2139:101: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],prior[k],prior[k-img_n])); break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2140:13: note: in expansion of macro ‘CASE’
             CASE(F_avg_first)    cur[k] = raw[k] + (cur[k-img_n] >> 1); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2140:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_avg_first)    cur[k] = raw[k] + (cur[k-img_n] >> 1); break;
                                                                         ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2133:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2141:13: note: in expansion of macro ‘CASE’
             CASE(F_paeth_first)  cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],0,0)); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2141:87: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 ASE(F_paeth_first)  cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],0,0)); break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2151:13: note: in expansion of macro ‘CASE’
             CASE(F_none)  cur[k] = raw[k]; break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2151:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_none)  cur[k] = raw[k]; break;
                                            ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2152:13: note: in expansion of macro ‘CASE’
             CASE(F_sub)   cur[k] = raw[k] + cur[k-out_n]; break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2152:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_sub)   cur[k] = raw[k] + cur[k-out_n]; break;
                                                           ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2153:13: note: in expansion of macro ‘CASE’
             CASE(F_up)    cur[k] = raw[k] + prior[k]; break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2153:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_up)    cur[k] = raw[k] + prior[k]; break;
                                                       ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2154:13: note: in expansion of macro ‘CASE’
             CASE(F_avg)   cur[k] = raw[k] + ((prior[k] + cur[k-out_n])>>1); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2154:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          CASE(F_avg)   cur[k] = raw[k] + ((prior[k] + cur[k-out_n])>>1); break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2155:13: note: in expansion of macro ‘CASE’
             CASE(F_paeth)  cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],prior[k],prior[k-out_n])); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2155:101: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],prior[k],prior[k-out_n])); break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2156:13: note: in expansion of macro ‘CASE’
             CASE(F_avg_first)    cur[k] = raw[k] + (cur[k-out_n] >> 1); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2156:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
             CASE(F_avg_first)    cur[k] = raw[k] + (cur[k-out_n] >> 1); break;
                                                                         ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2149:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
                    for (k=0; k < img_n; ++k)
                    ^
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2157:13: note: in expansion of macro ‘CASE’
             CASE(F_paeth_first)  cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],0,0)); break;
             ^~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:2157:87: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 ASE(F_paeth_first)  cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],0,0)); break;
                                                                          ^~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c: At top level:
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:3641:10: warning: no previous declaration for ‘stbi_hdr_load_rgbe_memory’ [-Wmissing-declarations]
 stbi_uc *stbi_hdr_load_rgbe_memory(stbi_uc *buffer, int len, int *x, int *y, int *comp, int req_comp)
          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:3758:0:
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stbi_DDS_aug_c.h:105:5: warning: no previous declaration for ‘stbi_convert_bit_range’ [-Wmissing-declarations]
 int stbi_convert_bit_range( int c, int from_bits, int to_bits )
     ^~~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stbi_DDS_aug_c.h:110:6: warning: no previous declaration for ‘stbi_rgb_888_from_565’ [-Wmissing-declarations]
 void stbi_rgb_888_from_565( unsigned int c, int *r, int *g, int *b )
      ^~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stbi_DDS_aug_c.h:116:6: warning: no previous declaration for ‘stbi_decode_DXT1_block’ [-Wmissing-declarations]
 void stbi_decode_DXT1_block(
      ^~~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stbi_DDS_aug_c.h:172:6: warning: no previous declaration for ‘stbi_decode_DXT23_alpha_block’ [-Wmissing-declarations]
 void stbi_decode_DXT23_alpha_block(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stbi_DDS_aug_c.h:186:6: warning: no previous declaration for ‘stbi_decode_DXT45_alpha_block’ [-Wmissing-declarations]
 void stbi_decode_DXT45_alpha_block(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stbi_DDS_aug_c.h:230:6: warning: no previous declaration for ‘stbi_decode_DXT_color_block’ [-Wmissing-declarations]
 void stbi_decode_DXT_color_block(
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c: In function ‘getn’:
/home/emula-os/Downloads/Ishiiruka(1)/Externals/SOIL/stb_image_aug.c:450:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
       fread(buffer, 1, n, s->img_file);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  6%] Linking C static library libSOIL.a
[  6%] Built target SOIL
Scanning dependencies of target wx
[  6%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/auibar.cpp.o
[  6%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/auibook.cpp.o
[  6%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o
/home/emula-os/Downloads/Ishiiruka(1)/Externals/wxWidgets3/src/aui/dockart.cpp:45:10: fatal error: gtk/gtk.h: Arquivo ou diretório inexistente
 #include <gtk/gtk.h>
          ^~~~~~~~~~~
compilation terminated.
Externals/wxWidgets3/CMakeFiles/wx.dir/build.make:110: recipe for target 'Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o' failed
make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/dockart.cpp.o] Error 1
CMakeFiles/Makefile2:609: recipe for target 'Externals/wxWidgets3/CMakeFiles/wx.dir/all' failed
make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2```

Same problem here on manjaro:

[ 0%] Built target pugixml
[ 0%] Built target bdisasm
[ 0%] Built target cpp-optparse
[ 1%] Built target enet
[ 2%] Built target xxhash
[ 2%] Built target SOIL
[ 5%] Built target glslang
[ 6%] Built target SoundTouch
[ 6%] Built target xbrz
[ 6%] Built target speex
[ 6%] Built target traversal_server
Consolidate compiler generated dependencies of target unittests_stubhost
Consolidate compiler generated dependencies of target discio
[ 6%] Built target unittests_stubhost
[ 11%] Built target common
[ 12%] Built target cubeb
Consolidate compiler generated dependencies of target inputcommon
[ 14%] Built target discio
[ 14%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/AutoUpdate.cpp.o
[ 15%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/CommandLineParse.cpp.o
[ 16%] Built target audiocommon
[ 16%] Building CXX object Source/Core/InputCommon/CMakeFiles/inputcommon.dir/ControllerInterface/evdev/evdev.cpp.o
[ 16%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/Disassembler.cpp.o
[ 53%] Built target wx
[ 53%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/GameFile.cpp.o
In file included from /home/emmett/Games/Ishiiruka/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp:18:
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h: In function ‘constexpr T MathUtil::SNANConstant()’:
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h:23:15: error: ‘numeric_limits’ is not a member of ‘std’
23 | return std::numeric_limits::signaling_NaN();
| ^~~~~~~~~~~~~~
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h:23:31: error: expected primary-expression before ‘>’ token
23 | return std::numeric_limits::signaling_NaN();
| ^
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h:23:34: error: ‘::signaling_NaN’ has not been declared
23 | return std::numeric_limits::signaling_NaN();
| ^~~~~~~~~~~~~
make[2]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/build.make:412: Source/Core/InputCommon/CMakeFiles/inputcommon.dir/ControllerInterface/evdev/evdev.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1228: Source/Core/InputCommon/CMakeFiles/inputcommon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 53%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/GameFileCache.cpp.o
[ 53%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/UICommon.cpp.o
[ 53%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/USBUtils.cpp.o
[ 53%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/VideoUtils.cpp.o
[ 53%] Building CXX object Source/Core/UICommon/CMakeFiles/uicommon.dir/X11Utils.cpp.o
/home/emmett/Games/Ishiiruka/Source/Core/UICommon/GameFileCache.cpp: In member function ‘void UICommon::GameFileCache::ForEach(std::function<void(const std::shared_ptr&)>) const’:
/home/emmett/Games/Ishiiruka/Source/Core/UICommon/GameFileCache.cpp:45:47: warning: loop variable ‘item’ of type ‘const std::shared_ptr&’ binds to a temporary constructed from type ‘const std::shared_ptrUICommon::GameFile’ [-Wrange-loop-construct]
45 | for (const std::shared_ptr& item : m_cached_files)
| ^~~~
/home/emmett/Games/Ishiiruka/Source/Core/UICommon/GameFileCache.cpp:45:47: note: use non-reference type ‘const std::shared_ptr’ to make the copy explicit or ‘const std::shared_ptrUICommon::GameFile&’ to prevent copying
In file included from /home/emmett/Games/Ishiiruka/Source/Core/VideoCommon/VideoCommon.h:8,
from /home/emmett/Games/Ishiiruka/Source/Core/VideoCommon/VideoConfig.h:19,
from /home/emmett/Games/Ishiiruka/Source/Core/UICommon/VideoUtils.cpp:8:
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h: In function ‘constexpr T MathUtil::SNANConstant()’:
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h:23:15: error: ‘numeric_limits’ is not a member of ‘std’
23 | return std::numeric_limits::signaling_NaN();
| ^~~~~~~~~~~~~~
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h:23:31: error: expected primary-expression before ‘>’ token
23 | return std::numeric_limits::signaling_NaN();
| ^
/home/emmett/Games/Ishiiruka/Source/Core/Common/MathUtil.h:23:34: error: ‘::signaling_NaN’ has not been declared
23 | return std::numeric_limits::signaling_NaN();
| ^~~~~~~~~~~~~
make[2]: *** [Source/Core/UICommon/CMakeFiles/uicommon.dir/build.make:174: Source/Core/UICommon/CMakeFiles/uicommon.dir/VideoUtils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1256: Source/Core/UICommon/CMakeFiles/uicommon.dir/all] Error 2
make: *** [Makefile:156: all] Error 2