diff --git a/skeletons/NativeEnumerated.c b/skeletons/NativeEnumerated.c index 4ed8749d0..62c1311e8 100644 --- a/skeletons/NativeEnumerated.c +++ b/skeletons/NativeEnumerated.c @@ -85,6 +85,8 @@ NativeEnumerated_encode_xer(const asn_TYPE_descriptor_t *td, const void *sptr, } } +#ifdef ASN_DISABLE_OER_SUPPORT + asn_dec_rval_t NativeEnumerated_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, const asn_TYPE_descriptor_t *td, @@ -224,3 +226,5 @@ NativeEnumerated_encode_uper(const asn_TYPE_descriptor_t *td, ASN__ENCODED_OK(er); } +#endif + diff --git a/skeletons/constr_CHOICE.c b/skeletons/constr_CHOICE.c index 628979ec2..37afb71c4 100644 --- a/skeletons/constr_CHOICE.c +++ b/skeletons/constr_CHOICE.c @@ -829,6 +829,8 @@ CHOICE_encode_xer(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, ASN__ENCODE_FAILED; } +#ifndef ASN_DISABLE_PER_SUPPORT + asn_dec_rval_t CHOICE_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, const asn_TYPE_descriptor_t *td, @@ -1010,6 +1012,8 @@ CHOICE_encode_uper(const asn_TYPE_descriptor_t *td, } } +#endif /* ASN_DISABLE_PER_SUPPORT */ + int CHOICE_print(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c index 02fc51562..a2186b968 100644 --- a/skeletons/constr_SET_OF.c +++ b/skeletons/constr_SET_OF.c @@ -383,6 +383,7 @@ SET_OF__encode_sorted(const asn_TYPE_member_t *elm, erval = elm->type->op->der_encoder(elm->type, memb_ptr, 0, elm->tag, _el_addbytes, encoding_el); break; +#ifndef ASN_DISABLE_PER_SUPPORT case SOES_CUPER: erval = uper_encode(elm->type, elm->encoding_constraints.per_constraints, @@ -393,6 +394,7 @@ SET_OF__encode_sorted(const asn_TYPE_member_t *elm, encoding_el->bits_unused = (8 - extra_bits) & 0x7; } break; +#endif default: assert(!"Unreachable"); break;