Commit e0b99abe authored by mattipee's avatar mattipee Committed by GitHub

Omit constraints code if -fno-constraints

Raised in #122, prevent reference to constraints in generated code if compiled with -fno-constraints
parent fb35e088
......@@ -2816,10 +2816,15 @@ do { \
FUNCREF2(free);
FUNCREF2(print);
if (!expr->combined_constraints)
FUNCREF2(constraint);
if (arg->flags & A1C_NO_CONSTRAINTS)
OUT("0,\t/* No check because of -fno-constraints */\n");
else
FUNCREF(constraint);
{
if (!expr->combined_constraints)
FUNCREF2(constraint);
else
FUNCREF(constraint);
}
FUNCREF2(decode_ber);
FUNCREF2(encode_der);
FUNCREF2(decode_xer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment