mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Fix build error after 8b442ea
> Task :Decompiler:compileSleighLinux_x86_64ExecutableSleighCpp /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc: In member function ???double FloatFormat::getHostFloat(uintb, floatclass*) const???: /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:30: error: ???numeric_limits??? is not a member of ???std??? 245 | double infinity = std::numeric_limits<double>::infinity(); | ^~~~~~~~~~~~~~ /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:45: error: expected primary-expression before ???double??? 245 | double infinity = std::numeric_limits<double>::infinity(); | ^~~~~~ /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:23: error: ???numeric_limits??? is not a member of ???std??? 250 | double nan = std::numeric_limits<double>::quiet_NaN(); | ^~~~~~~~~~~~~~ /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:38: error: expected primary-expression before ???double??? 250 | double nan = std::numeric_limits<double>::quiet_NaN(); | ^~~~~~ > Task :Decompiler:compileDecompileLinux_x86_64ExecutableDecompileCpp /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc: In member function ???double FloatFormat::getHostFloat(uintb, floatclass*) const???: /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:30: error: ???numeric_limits??? is not a member of ???std??? 245 | double infinity = std::numeric_limits<double>::infinity(); | ^~~~~~~~~~~~~~ /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:45: error: expected primary-expression before ???double??? 245 | double infinity = std::numeric_limits<double>::infinity(); | ^~~~~~ /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:23: error: ???numeric_limits??? is not a member of ???std??? 250 | double nan = std::numeric_limits<double>::quiet_NaN(); | ^~~~~~~~~~~~~~ /tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:38: error: expected primary-expression before ???double??? 250 | double nan = std::numeric_limits<double>::quiet_NaN(); | ^~~~~~
This commit is contained in:
parent
ba0b42dc82
commit
c839c0f9a3
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "address.hh"
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
using std::ldexp;
|
||||
using std::frexp;
|
||||
using std::signbit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue