Kingcom / armips

An assembler for various ARM and MIPS platforms. Builds available at http://buildbot.orphis.net/armips/
MIT License
361 stars 77 forks source link

Build failure on Linux Xubuntu 22.04 LTS #227

Open Gabbinetto opened 2 years ago

Gabbinetto commented 2 years ago

I've followed the build instructions but I get a giant error code. Here's the full command output:

gabriele@LAPTOP-GABBO:~/Downloads/armips-0.11.0/build$ cmake --build .
[  1%] Building CXX object CMakeFiles/armips.dir/Archs/Architecture.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/Architecture.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[  3%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/Arm.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/Arm.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[  5%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/ArmExpressionFunctions.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/ArmExpressionFunctions.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[  7%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/ArmElfRelocator.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/ArmElfRelocator.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[  8%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/ArmOpcodes.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/ArmOpcodes.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 10%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/ArmParser.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/ArmParser.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 12%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/CArmInstruction.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/CArmInstruction.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 14%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/CThumbInstruction.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/CThumbInstruction.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 15%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/Pool.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/Pool.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 17%] Building CXX object CMakeFiles/armips.dir/Archs/ARM/ThumbOpcodes.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/ARM/ThumbOpcodes.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 19%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/CMipsInstruction.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/CMipsInstruction.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 21%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/Mips.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/Mips.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 22%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/MipsElfFile.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/MipsElfFile.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 24%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/MipsExpressionFunctions.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/MipsExpressionFunctions.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 26%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/MipsElfRelocator.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/MipsElfRelocator.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 28%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/MipsMacros.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/MipsMacros.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 29%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/MipsOpcodes.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/MipsOpcodes.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 31%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/MipsParser.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/MipsParser.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 33%] Building CXX object CMakeFiles/armips.dir/Archs/MIPS/PsxRelocator.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Archs/MIPS/PsxRelocator.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 35%] Building CXX object CMakeFiles/armips.dir/Commands/CAssemblerCommand.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CAssemblerCommand.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 36%] Building CXX object CMakeFiles/armips.dir/Commands/CAssemblerLabel.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CAssemblerLabel.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 38%] Building CXX object CMakeFiles/armips.dir/Commands/CDirectiveArea.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CDirectiveArea.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 40%] Building CXX object CMakeFiles/armips.dir/Commands/CDirectiveConditional.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CDirectiveConditional.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 42%] Building CXX object CMakeFiles/armips.dir/Commands/CDirectiveData.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CDirectiveData.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 43%] Building CXX object CMakeFiles/armips.dir/Commands/CDirectiveFile.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CDirectiveFile.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 45%] Building CXX object CMakeFiles/armips.dir/Commands/CDirectiveMessage.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CDirectiveMessage.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 47%] Building CXX object CMakeFiles/armips.dir/Commands/CommandSequence.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Commands/CommandSequence.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 49%] Building CXX object CMakeFiles/armips.dir/Core/ELF/ElfRelocator.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ELF/ElfRelocator.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 50%] Building CXX object CMakeFiles/armips.dir/Core/ELF/ElfFile.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ELF/ElfFile.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 52%] Building CXX object CMakeFiles/armips.dir/Core/Assembler.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/Assembler.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 54%] Building CXX object CMakeFiles/armips.dir/Core/Common.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/Common.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 56%] Building CXX object CMakeFiles/armips.dir/Core/Expression.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/Expression.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
[ 57%] Building CXX object CMakeFiles/armips.dir/Core/ExpressionFunctions.cpp.o
In file included from /usr/include/c++/11/cstdio:41,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:21,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported"
      |  ^~~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp: In function ‘ExpressionValue expFuncMin(const wstring&, const std::vector<ExpressionValue>&)’:
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:219:36: error: ‘numeric_limits’ is not a member of ‘std’
  219 |         floatCur = floatMin = std::numeric_limits<double>::max();
      |                                    ^~~~~~~~~~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:219:51: error: expected primary-expression before ‘double’
  219 |         floatCur = floatMin = std::numeric_limits<double>::max();
      |                                                   ^~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:220:32: error: ‘numeric_limits’ is not a member of ‘std’
  220 |         intCur = intMin = std::numeric_limits<int64_t>::max();
      |                                ^~~~~~~~~~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:220:54: error: expected primary-expression before ‘>’ token
  220 |         intCur = intMin = std::numeric_limits<int64_t>::max();
      |                                                      ^
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:220:57: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  220 |         intCur = intMin = std::numeric_limits<int64_t>::max();
      |                                                         ^~~
      |                                                         std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/gabriele/Downloads/armips-0.11.0/./ext/tinyformat/tinyformat.h:135,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:34,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp: In function ‘ExpressionValue expFuncMax(const wstring&, const std::vector<ExpressionValue>&)’:
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:265:36: error: ‘numeric_limits’ is not a member of ‘std’
  265 |         floatCur = floatMax = std::numeric_limits<double>::min();
      |                                    ^~~~~~~~~~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:265:51: error: expected primary-expression before ‘double’
  265 |         floatCur = floatMax = std::numeric_limits<double>::min();
      |                                                   ^~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:266:32: error: ‘numeric_limits’ is not a member of ‘std’
  266 |         intCur = intMax = std::numeric_limits<int64_t>::min();
      |                                ^~~~~~~~~~~~~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:266:54: error: expected primary-expression before ‘>’ token
  266 |         intCur = intMax = std::numeric_limits<int64_t>::min();
      |                                                      ^
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:266:57: error: ‘::min’ has not been declared; did you mean ‘std::min’?
  266 |         intCur = intMax = std::numeric_limits<int64_t>::min();
      |                                                         ^~~
      |                                                         std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/gabriele/Downloads/armips-0.11.0/./ext/tinyformat/tinyformat.h:135,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:34,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp: At global scope:
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:632:94: error: ‘numeric_limits’ is not a member of ‘std’
  632 |                  { &expFuncMin,                          1,      std::numeric_limits<size_t>::max(),     ExpFuncSafety::Safe } },
      |                                                                       ^~~~~~~~~~~~~~

/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:632:115: error: expected primary-expression before ‘>’ token
  632 | xpFuncMin,                          1,      std::numeric_limits<size_t>::max(),     ExpFuncSafety::Safe } },
      |                                                                       ^

/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:632:118: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  632 | uncMin,                          1,      std::numeric_limits<size_t>::max(),     ExpFuncSafety::Safe } },
      |                                                                       ^~~
      |                                                                       std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/gabriele/Downloads/armips-0.11.0/./ext/tinyformat/tinyformat.h:135,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:34,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:633:94: error: ‘numeric_limits’ is not a member of ‘std’
  633 |                  { &expFuncMax,                          1,      std::numeric_limits<size_t>::max(),     ExpFuncSafety::Safe } },
      |                                                                       ^~~~~~~~~~~~~~

/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:633:115: error: expected primary-expression before ‘>’ token
  633 | xpFuncMax,                          1,      std::numeric_limits<size_t>::max(),     ExpFuncSafety::Safe } },
      |                                                                       ^

/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:633:118: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  633 | uncMax,                          1,      std::numeric_limits<size_t>::max(),     ExpFuncSafety::Safe } },
      |                                                                       ^~~
      |                                                                       std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/gabriele/Downloads/armips-0.11.0/./ext/tinyformat/tinyformat.h:135,
                 from /home/gabriele/Downloads/armips-0.11.0/./stdafx.h:34,
                 from /home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/gabriele/Downloads/armips-0.11.0/Core/ExpressionFunctions.cpp:655:1: error: could not convert ‘{{"v\000\000\000e\000\000\000r\000\000\000s\000\000\000i\000\000\000o\000\000\000n\000\000\000\000\000\000", {expFuncVersion, 0, 0, ExpFuncSafety::Safe}}, {"e\000\000\000n\000\000\000d\000\000\000i\000\000\000a\000\000\000n\000\000\000n\000\000\000e\000\000\000s\000\000\000s\000\000\000\000\000\000", {expFuncEndianness, 0, 0, ExpFuncSafety::Unsafe}}, {"o\000\000\000u\000\000\000t\000\000\000p\000\000\000u\000\000\000t\000\000\000n\000\000\000a\000\000\000m\000\000\000e\000\000\000\000\000\000", {expFuncOutputName, 0, 0, ExpFuncSafety::Unsafe}}, {"f\000\000\000i\000\000\000l\000\000\000e\000\000\000e\000\000\000x\000\000\000i\000\000\000s\000\000\000t\000\000\000s\000\000\000\000\000\000", {expFuncFileExists, 1, 1, ExpFuncSafety::Safe}}, {"f\000\000\000i\000\000\000l\000\000\000e\000\000\000s\000\000\000i\000\000\000z\000\000\000e\000\000\000\000\000\000", {expFuncFileSize, 1, 1, ExpFuncSafety::ConditionalUnsafe}}, {"t\000\000\000o\000\000\000s\000\000\000t\000\000\000r\000\000\000i\000\000\000n\000\000\000g\000\000\000\000\000\000", {expFuncToString, 1, 1, ExpFuncSafety::Safe}}, {"t\000\000\000o\000\000\000h\000\000\000e\000\000\000x\000\000\000\000\000\000", {expFuncToHex, 1, 2, ExpFuncSafety::Safe}}, {"i\000\000\000n\000\000\000t\000\000\000\000\000\000", {expFuncInt, 1, 1, ExpFuncSafety::Safe}}, {"f\000\000\000l\000\000\000o\000\000\000a\000\000\000t\000\000\000\000\000\000", {expFuncFloat, 1, 1, ExpFuncSafety::Safe}}, {"f\000\000\000r\000\000\000a\000\000\000c\000\000\000\000\000\000", {expFuncFrac, 1, 1, ExpFuncSafety::Safe}}, {"a\000\000\000b\000\000\000s\000\000\000\000\000\000", {expFuncAbs, 1, 1, ExpFuncSafety::Safe}}, {"r\000\000\000o\000\000\000u\000\000\000n\000\000\000d\000\000\000\000\000\000", {expFuncRound, 1, 1, ExpFuncSafety::Safe}}, {"m\000\000\000i\000\000\000n\000\000\000\000\000\000", {expFuncMin, 1, <expression error>, ExpFuncSafety::Safe}}, {"m\000\000\000a\000\000\000x\000\000\000\000\000\000", {expFuncMax, 1, <expression error>, ExpFuncSafety::Safe}}, {"s\000\000\000t\000\000\000r\000\000\000l\000\000\000e\000\000\000n\000\000\000\000\000\000", {expFuncStrlen, 1, 1, ExpFuncSafety::Safe}}, {"s\000\000\000u\000\000\000b\000\000\000s\000\000\000t\000\000\000r\000\000\000\000\000\000", {expFuncSubstr, 3, 3, ExpFuncSafety::Safe}}, {"r\000\000\000e\000\000\000g\000\000\000e\000\000\000x\000\000\000_\000\000\000m\000\000\000a\000\000\000t\000\000\000c\000\000\000h\000\000\000\000\000\000", {expFuncRegExMatch, 2, 2, ExpFuncSafety::Safe}}, {"r\000\000\000e\000\000\000g\000\000\000e\000\000\000x\000\000\000_\000\000\000s\000\000\000e\000\000\000a\000\000\000r\000\000\000c\000\000\000h\000\000\000\000\000\000", {expFuncRegExSearch, 2, 2, ExpFuncSafety::Safe}}, {"r\000\000\000e\000\000\000g\000\000\000e\000\000\000x\000\000\000_\000\000\000e\000\000\000x\000\000\000t\000\000\000r\000\000\000a\000\000\000c\000\000\000t\000\000\000\000\000\000", {expFuncRegExExtract, 2, 3, ExpFuncSafety::Safe}}, {"f\000\000\000i\000\000\000n\000\000\000d\000\000\000\000\000\000", {expFuncFind, 2, 3, ExpFuncSafety::Safe}}, {"r\000\000\000f\000\000\000i\000\000\000n\000\000\000d\000\000\000\000\000\000", {expFuncRFind, 2, 3, ExpFuncSafety::Safe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000b\000\000\000y\000\000\000t\000\000\000e\000\000\000\000\000\000", {(& expFuncRead<uint8_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000u\000\000\0008\000\000\000\000\000\000", {(& expFuncRead<uint8_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000u\000\000\0001\000\000\0006\000\000\000\000\000\000", {(& expFuncRead<uint16_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000u\000\000\0003\000\000\0002\000\000\000\000\000\000", {(& expFuncRead<uint32_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000u\000\000\0006\000\000\0004\000\000\000\000\000\000", {(& expFuncRead<uint64_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000s\000\000\0008\000\000\000\000\000\000", {(& expFuncRead<int8_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000s\000\000\0001\000\000\0006\000\000\000\000\000\000", {(& expFuncRead<int16_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000s\000\000\0003\000\000\0002\000\000\000\000\000\000", {(& expFuncRead<int32_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000s\000\000\0006\000\000\0004\000\000\000\000\000\000", {(& expFuncRead<int64_t>), 1, 2, ExpFuncSafety::ConditionalUnsafe}}, {"r\000\000\000e\000\000\000a\000\000\000d\000\000\000a\000\000\000s\000\000\000c\000\000\000i\000\000\000i\000\000\000\000\000\000", {expFuncReadAscii, 1, 3, ExpFuncSafety::ConditionalUnsafe}}}’ from ‘<brace-enclosed initializer list>’ to ‘const ExpressionFunctionMap’ {aka ‘const std::map<std::__cxx11::basic_string<wchar_t>, const ExpressionFunctionEntry>’}
  655 | };
      | ^
      | |
      | <brace-enclosed initializer list>
gmake[2]: *** [CMakeFiles/armips.dir/build.make:524: CMakeFiles/armips.dir/Core/ExpressionFunctions.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/armips.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
Kingcom commented 2 years ago

Please use the current master branch instead of v0.11.0, these errors are already fixed there.