Commit 2e93c223 authored by Lev Walkin's avatar Lev Walkin

emit cross-compilable attributes

parent 3f995631
...@@ -2288,7 +2288,7 @@ emit_member_OER_constraints(arg_t *arg, asn1p_expr_t *expr, const char *pfx) { ...@@ -2288,7 +2288,7 @@ emit_member_OER_constraints(arg_t *arg, asn1p_expr_t *expr, const char *pfx) {
REDIR(OT_CTDEFS); REDIR(OT_CTDEFS);
OUT("static asn_oer_constraints_t " OUT("static asn_oer_constraints_t "
"asn_OER_%s_%s_constr_%d GCC_NOTUSED = {\n", "asn_OER_%s_%s_constr_%d CC_NOTUSED = {\n",
pfx, MKID(expr), expr->_type_unique_index); pfx, MKID(expr), expr->_type_unique_index);
INDENT(+1); INDENT(+1);
...@@ -2354,7 +2354,7 @@ emit_member_PER_constraints(arg_t *arg, asn1p_expr_t *expr, const char *pfx) { ...@@ -2354,7 +2354,7 @@ emit_member_PER_constraints(arg_t *arg, asn1p_expr_t *expr, const char *pfx) {
if(!(expr->_type_referenced)) OUT("static "); if(!(expr->_type_referenced)) OUT("static ");
OUT("asn_per_constraints_t " OUT("asn_per_constraints_t "
"asn_PER_%s_%s_constr_%d GCC_NOTUSED = {\n", "asn_PER_%s_%s_constr_%d CC_NOTUSED = {\n",
pfx, MKID(expr), expr->_type_unique_index); pfx, MKID(expr), expr->_type_unique_index);
INDENT(+1); INDENT(+1);
......
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