suppress macro processor compilation warnings with gcc
parent
17e040f3f6
commit
5ba2d8500a
|
@ -757,6 +757,8 @@ UnaryOp::eval()
|
||||||
{
|
{
|
||||||
throw StackTrace("unary operation", e.what(), location);
|
throw StackTrace("unary operation", e.what(), location);
|
||||||
}
|
}
|
||||||
|
// Suppress GCC warning
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseTypePtr
|
BaseTypePtr
|
||||||
|
@ -844,6 +846,8 @@ TrinaryOp::eval()
|
||||||
{
|
{
|
||||||
throw StackTrace("trinary operation", e.what(), location);
|
throw StackTrace("trinary operation", e.what(), location);
|
||||||
}
|
}
|
||||||
|
// Suppress GCC warning
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseTypePtr
|
BaseTypePtr
|
||||||
|
@ -1000,6 +1004,8 @@ UnaryOp::to_string() const noexcept
|
||||||
case codes::UnaryOp::normcdf:
|
case codes::UnaryOp::normcdf:
|
||||||
return "normcdf(" + retval + ")";
|
return "normcdf(" + retval + ")";
|
||||||
}
|
}
|
||||||
|
// Suppress GCC warning
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
|
@ -1075,6 +1081,8 @@ TrinaryOp::to_string() const noexcept
|
||||||
case codes::TrinaryOp::normcdf:
|
case codes::TrinaryOp::normcdf:
|
||||||
return "normcdf(" + arg1->to_string() + ", " + arg2->to_string() + ", " + arg3->to_string() + ")";
|
return "normcdf(" + arg1->to_string() + ", " + arg2->to_string() + ", " + arg3->to_string() + ")";
|
||||||
}
|
}
|
||||||
|
// Suppress GCC warning
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
|
|
Loading…
Reference in New Issue