diff options
author | Lev Walkin <vlm@lionet.info> | 2013-03-28 05:00:39 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2013-03-28 05:00:39 -0700 |
commit | 2fce55d3b6690f6ccc51a786a8deb20ada66e507 (patch) | |
tree | 276187cf25272e7f08e413da6e2dad9fbd06b9ed | |
parent | 1d6d5191fb5a36187535423b1da103320a0bbefd (diff) |
regenerated
-rw-r--r-- | tests/119-per-strings-OK.asn1.-Pgen-PER | 44 | ||||
-rw-r--r-- | tests/126-per-extensions-OK.asn1.-Pgen-PER | 2 | ||||
-rw-r--r-- | tests/127-per-long-OK.asn1.-Pgen-PER | 12 | ||||
-rw-r--r-- | tests/50-constraint-OK.asn1.-Pgen-PER | 54 | ||||
-rw-r--r-- | tests/90-cond-int-type-OK.asn1.-Pgen-PER | 30 | ||||
-rw-r--r-- | tests/95-choice-per-order-OK.asn1.-Pgen-PER | 6 |
6 files changed, 74 insertions, 74 deletions
diff --git a/tests/119-per-strings-OK.asn1.-Pgen-PER b/tests/119-per-strings-OK.asn1.-Pgen-PER index d21d818d..a43b2f71 100644 --- a/tests/119-per-strings-OK.asn1.-Pgen-PER +++ b/tests/119-per-strings-OK.asn1.-Pgen-PER @@ -1061,118 +1061,118 @@ static int asn_PER_MAP_us_ir_31_c2v(unsigned int code) { /*** <<< CTDEFS [PDU] >>> ***/ -static asn_per_constraints_t asn_PER_memb_ia5_c_constr_5 = { +static asn_per_constraints_t asn_PER_memb_ia5_c_constr_5 GCC_NOTUSED = { { APC_CONSTRAINED, 5, 5, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_ia5_ce_constr_6 = { +static asn_per_constraints_t asn_PER_memb_ia5_ce_constr_6 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_ia5_ir_constr_7 = { +static asn_per_constraints_t asn_PER_memb_ia5_ir_constr_7 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, asn_PER_MAP_ia5_ir_7_v2c, /* Value to PER code map */ asn_PER_MAP_ia5_ir_7_c2v /* PER code to value map */ }; -static asn_per_constraints_t asn_PER_memb_vs_c_constr_9 = { +static asn_per_constraints_t asn_PER_memb_vs_c_constr_9 GCC_NOTUSED = { { APC_CONSTRAINED, 5, 5, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_vs_ce_constr_10 = { +static asn_per_constraints_t asn_PER_memb_vs_ce_constr_10 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_vs_ir_constr_11 = { +static asn_per_constraints_t asn_PER_memb_vs_ir_constr_11 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, asn_PER_MAP_vs_ir_11_v2c, /* Value to PER code map */ asn_PER_MAP_vs_ir_11_c2v /* PER code to value map */ }; -static asn_per_constraints_t asn_PER_memb_pr_c_constr_13 = { +static asn_per_constraints_t asn_PER_memb_pr_c_constr_13 GCC_NOTUSED = { { APC_CONSTRAINED, 5, 5, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_pr_ir_constr_14 = { +static asn_per_constraints_t asn_PER_memb_pr_ir_constr_14 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, asn_PER_MAP_pr_ir_14_v2c, /* Value to PER code map */ asn_PER_MAP_pr_ir_14_c2v /* PER code to value map */ }; -static asn_per_constraints_t asn_PER_memb_ns_c_constr_16 = { +static asn_per_constraints_t asn_PER_memb_ns_c_constr_16 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 53, 57 } /* (53..57) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_ns_ce_constr_17 = { +static asn_per_constraints_t asn_PER_memb_ns_ce_constr_17 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_ns_ir_constr_18 = { +static asn_per_constraints_t asn_PER_memb_ns_ir_constr_18 GCC_NOTUSED = { { APC_CONSTRAINED, 1, 1, 49, 57 } /* (49..57) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, asn_PER_MAP_ns_ir_18_v2c, /* Value to PER code map */ asn_PER_MAP_ns_ir_18_c2v /* PER code to value map */ }; -static asn_per_constraints_t asn_PER_memb_ut_c_constr_19 = { +static asn_per_constraints_t asn_PER_memb_ut_c_constr_19 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_ut_ce_constr_20 = { +static asn_per_constraints_t asn_PER_memb_ut_ce_constr_20 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_ut_ir_constr_21 = { +static asn_per_constraints_t asn_PER_memb_ut_ir_constr_21 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_bm_c_constr_23 = { +static asn_per_constraints_t asn_PER_memb_bm_c_constr_23 GCC_NOTUSED = { { APC_CONSTRAINED, 5, 5, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_bm_cs_constr_24 = { +static asn_per_constraints_t asn_PER_memb_bm_cs_constr_24 GCC_NOTUSED = { { APC_CONSTRAINED, 16, 16, 0, 65533 } /* (0..65533) */, { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_bm_ce_constr_25 = { +static asn_per_constraints_t asn_PER_memb_bm_ce_constr_25 GCC_NOTUSED = { { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_bm_ir_constr_26 = { +static asn_per_constraints_t asn_PER_memb_bm_ir_constr_26 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, asn_PER_MAP_bm_ir_26_v2c, /* Value to PER code map */ asn_PER_MAP_bm_ir_26_c2v /* PER code to value map */ }; -static asn_per_constraints_t asn_PER_memb_us_c_constr_28 = { +static asn_per_constraints_t asn_PER_memb_us_c_constr_28 GCC_NOTUSED = { { APC_CONSTRAINED, 5, 5, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_us_cs_constr_29 = { +static asn_per_constraints_t asn_PER_memb_us_cs_constr_29 GCC_NOTUSED = { { APC_CONSTRAINED, 32, 32, 0, 2147483647 } /* (0..4294967295) */, { APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_us_ce_constr_30 = { +static asn_per_constraints_t asn_PER_memb_us_ce_constr_30 GCC_NOTUSED = { { APC_CONSTRAINED, 32, 32, 0, 2147483647 } /* special case 1 */ , { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ }; -static asn_per_constraints_t asn_PER_memb_us_ir_constr_31 = { +static asn_per_constraints_t asn_PER_memb_us_ir_constr_31 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 90 } /* (65..90) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, asn_PER_MAP_us_ir_31_v2c, /* Value to PER code map */ diff --git a/tests/126-per-extensions-OK.asn1.-Pgen-PER b/tests/126-per-extensions-OK.asn1.-Pgen-PER index 2bb515f1..5b234be9 100644 --- a/tests/126-per-extensions-OK.asn1.-Pgen-PER +++ b/tests/126-per-extensions-OK.asn1.-Pgen-PER @@ -259,7 +259,7 @@ extern asn_TYPE_descriptor_t asn_DEF_PDU_2; /*** <<< CTDEFS [PDU-2] >>> ***/ -static asn_per_constraints_t asn_PER_type_PDU_2_constr_1 = { +static asn_per_constraints_t asn_PER_type_PDU_2_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ diff --git a/tests/127-per-long-OK.asn1.-Pgen-PER b/tests/127-per-long-OK.asn1.-Pgen-PER index ab541953..696b83ba 100644 --- a/tests/127-per-long-OK.asn1.-Pgen-PER +++ b/tests/127-per-long-OK.asn1.-Pgen-PER @@ -319,32 +319,32 @@ memb_unsplit32_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, /*** <<< CTDEFS [T] >>> ***/ -static asn_per_constraints_t asn_PER_type_unsigned32_constr_4 = { +static asn_per_constraints_t asn_PER_type_unsigned32_constr_4 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_type_unsplit32_constr_5 = { +static asn_per_constraints_t asn_PER_type_unsplit32_constr_5 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, 5, 4294967290 } /* (5..4294967290) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_small32range_constr_2 = { +static asn_per_constraints_t asn_PER_memb_small32range_constr_2 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, -2000000000, 2000000000 } /* (-2000000000..2000000000) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_full32range_constr_3 = { +static asn_per_constraints_t asn_PER_memb_full32range_constr_3 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_unsigned32_constr_4 = { +static asn_per_constraints_t asn_PER_memb_unsigned32_constr_4 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_unsplit32_constr_5 = { +static asn_per_constraints_t asn_PER_memb_unsplit32_constr_5 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, 5, 4294967290 } /* (5..4294967290) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ diff --git a/tests/50-constraint-OK.asn1.-Pgen-PER b/tests/50-constraint-OK.asn1.-Pgen-PER index 17645532..e836816b 100644 --- a/tests/50-constraint-OK.asn1.-Pgen-PER +++ b/tests/50-constraint-OK.asn1.-Pgen-PER @@ -272,7 +272,7 @@ Int2_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Int2] >>> ***/ -static asn_per_constraints_t asn_PER_type_Int2_constr_1 = { +static asn_per_constraints_t asn_PER_type_Int2_constr_1 GCC_NOTUSED = { { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (0..MAX) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -439,7 +439,7 @@ Int3_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Int3] >>> ***/ -static asn_per_constraints_t asn_PER_type_Int3_constr_1 = { +static asn_per_constraints_t asn_PER_type_Int3_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -606,7 +606,7 @@ Int4_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Int4] >>> ***/ -static asn_per_constraints_t asn_PER_type_Int4_constr_1 = { +static asn_per_constraints_t asn_PER_type_Int4_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 1, 10 } /* (1..10,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -773,7 +773,7 @@ Int5_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Int5] >>> ***/ -static asn_per_constraints_t asn_PER_type_Int5_constr_1 = { +static asn_per_constraints_t asn_PER_type_Int5_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 0, 0, 5, 5 } /* (5..5) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -940,7 +940,7 @@ ExtensibleExtensions_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [ExtensibleExtensions] >>> ***/ -static asn_per_constraints_t asn_PER_type_ExtensibleExtensions_constr_1 = { +static asn_per_constraints_t asn_PER_type_ExtensibleExtensions_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 8, 8, 1, 256 } /* (1..256,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1267,7 +1267,7 @@ Str2_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Str2] >>> ***/ -static asn_per_constraints_t asn_PER_type_Str2_constr_1 = { +static asn_per_constraints_t asn_PER_type_Str2_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 7, 7, 0, 127 } /* (0..127) */, { APC_CONSTRAINED, 5, 5, 0, 30 } /* (SIZE(0..30)) */, 0, 0 /* No PER character map necessary */ @@ -1476,7 +1476,7 @@ Str3_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Str3] >>> ***/ -static asn_per_constraints_t asn_PER_type_Str3_constr_1 = { +static asn_per_constraints_t asn_PER_type_Str3_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 102 } /* (65..102) */, { APC_CONSTRAINED, 5, 5, 10, 27 } /* (SIZE(10..27)) */, asn_PER_MAP_Str3_1_v2c, /* Value to PER code map */ @@ -1659,7 +1659,7 @@ Str4_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Str4] >>> ***/ -static asn_per_constraints_t asn_PER_type_Str4_constr_1 = { +static asn_per_constraints_t asn_PER_type_Str4_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 7, 7, 0, 127 } /* (0..127) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -1841,7 +1841,7 @@ PER_Visible_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [PER-Visible] >>> ***/ -static asn_per_constraints_t asn_PER_type_PER_Visible_constr_1 = { +static asn_per_constraints_t asn_PER_type_PER_Visible_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 70 } /* (65..70) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -2023,7 +2023,7 @@ PER_Visible_2_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [PER-Visible-2] >>> ***/ -static asn_per_constraints_t asn_PER_type_PER_Visible_2_constr_1 = { +static asn_per_constraints_t asn_PER_type_PER_Visible_2_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 1, 1, 69, 70 } /* (69..70) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -2205,7 +2205,7 @@ Not_PER_Visible_1_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Not-PER-Visible-1] >>> ***/ -static asn_per_constraints_t asn_PER_type_Not_PER_Visible_1_constr_1 = { +static asn_per_constraints_t asn_PER_type_Not_PER_Visible_1_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 70 } /* (65..70) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -2387,7 +2387,7 @@ Not_PER_Visible_2_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Not-PER-Visible-2] >>> ***/ -static asn_per_constraints_t asn_PER_type_Not_PER_Visible_2_constr_1 = { +static asn_per_constraints_t asn_PER_type_Not_PER_Visible_2_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -2569,7 +2569,7 @@ Not_PER_Visible_3_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Not-PER-Visible-3] >>> ***/ -static asn_per_constraints_t asn_PER_type_Not_PER_Visible_3_constr_1 = { +static asn_per_constraints_t asn_PER_type_Not_PER_Visible_3_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -2754,7 +2754,7 @@ SIZE_but_not_FROM_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [SIZE-but-not-FROM] >>> ***/ -static asn_per_constraints_t asn_PER_type_SIZE_but_not_FROM_constr_1 = { +static asn_per_constraints_t asn_PER_type_SIZE_but_not_FROM_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, 0, 0 /* No PER character map necessary */ @@ -2939,7 +2939,7 @@ SIZE_and_FROM_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [SIZE-and-FROM] >>> ***/ -static asn_per_constraints_t asn_PER_type_SIZE_and_FROM_constr_1 = { +static asn_per_constraints_t asn_PER_type_SIZE_and_FROM_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 2, 2, 65, 68 } /* (65..68) */, { APC_CONSTRAINED, 2, 2, 1, 4 } /* (SIZE(1..4)) */, 0, 0 /* No PER character map necessary */ @@ -3121,7 +3121,7 @@ Neither_SIZE_nor_FROM_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Neither-SIZE-nor-FROM] >>> ***/ -static asn_per_constraints_t asn_PER_type_Neither_SIZE_nor_FROM_constr_1 = { +static asn_per_constraints_t asn_PER_type_Neither_SIZE_nor_FROM_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 65, 70 } /* (65..70) */, { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, 0, 0 /* No PER character map necessary */ @@ -3297,7 +3297,7 @@ Utf8_4_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Utf8-4] >>> ***/ -static asn_per_constraints_t asn_PER_type_Utf8_4_constr_1 = { +static asn_per_constraints_t asn_PER_type_Utf8_4_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -3501,7 +3501,7 @@ Utf8_3_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Utf8-3] >>> ***/ -static asn_per_constraints_t asn_PER_type_Utf8_3_constr_1 = { +static asn_per_constraints_t asn_PER_type_Utf8_3_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -3675,7 +3675,7 @@ Utf8_2_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Utf8-2] >>> ***/ -static asn_per_constraints_t asn_PER_type_Utf8_2_constr_1 = { +static asn_per_constraints_t asn_PER_type_Utf8_2_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -4262,22 +4262,22 @@ memb_int5_c_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, /*** <<< CTDEFS [Sequence] >>> ***/ -static asn_per_constraints_t asn_PER_type_enum_c_constr_6 = { +static asn_per_constraints_t asn_PER_type_enum_c_constr_6 GCC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_int1_c_constr_2 = { +static asn_per_constraints_t asn_PER_memb_int1_c_constr_2 GCC_NOTUSED = { { APC_SEMI_CONSTRAINED, -1, -1, -2, 0 } /* (-2..MAX) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_int4_c_constr_4 = { +static asn_per_constraints_t asn_PER_memb_int4_c_constr_4 GCC_NOTUSED = { { APC_CONSTRAINED, 2, 2, 5, 7 } /* (5..7) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_memb_int5_c_constr_13 = { +static asn_per_constraints_t asn_PER_memb_int5_c_constr_13 GCC_NOTUSED = { { APC_CONSTRAINED, 0, 0, 5, 5 } /* (5..5) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -4512,7 +4512,7 @@ extern asn_TYPE_descriptor_t asn_DEF_SequenceOf; /*** <<< CTDEFS [SequenceOf] >>> ***/ -static asn_per_constraints_t asn_PER_type_SequenceOf_constr_1 = { +static asn_per_constraints_t asn_PER_type_SequenceOf_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_CONSTRAINED, 1, 1, 1, 2 } /* (SIZE(1..2)) */, 0, 0 /* No PER value map */ @@ -4686,7 +4686,7 @@ Enum0_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Enum0] >>> ***/ -static asn_per_constraints_t asn_PER_type_Enum0_constr_1 = { +static asn_per_constraints_t asn_PER_type_Enum0_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -4877,7 +4877,7 @@ Enum1_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Enum1] >>> ***/ -static asn_per_constraints_t asn_PER_type_Enum1_constr_1 = { +static asn_per_constraints_t asn_PER_type_Enum1_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -5108,7 +5108,7 @@ Identifier_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [Identifier] >>> ***/ -static asn_per_constraints_t asn_PER_type_Identifier_constr_1 = { +static asn_per_constraints_t asn_PER_type_Identifier_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 6, 6, 36, 122 } /* (36..122) */, { APC_CONSTRAINED, 5, 5, 1, 32 } /* (SIZE(1..32)) */, asn_PER_MAP_Identifier_1_v2c, /* Value to PER code map */ diff --git a/tests/90-cond-int-type-OK.asn1.-Pgen-PER b/tests/90-cond-int-type-OK.asn1.-Pgen-PER index 01b0abc9..ac1de2f6 100644 --- a/tests/90-cond-int-type-OK.asn1.-Pgen-PER +++ b/tests/90-cond-int-type-OK.asn1.-Pgen-PER @@ -268,7 +268,7 @@ CN_IntegerMinMax_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [CN-IntegerMinMax] >>> ***/ -static asn_per_constraints_t asn_PER_type_CN_IntegerMinMax_constr_1 = { +static asn_per_constraints_t asn_PER_type_CN_IntegerMinMax_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -435,7 +435,7 @@ CN_IntegerMinLow_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [CN-IntegerMinLow] >>> ***/ -static asn_per_constraints_t asn_PER_type_CN_IntegerMinLow_constr_1 = { +static asn_per_constraints_t asn_PER_type_CN_IntegerMinLow_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 } /* (MIN..1) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -608,7 +608,7 @@ NO_IntegerMinHigh_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerMinHigh] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerMinHigh_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerMinHigh_constr_1 GCC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 } /* (MIN..3000000000) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -775,7 +775,7 @@ NO_IntegerLowHigh_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerLowHigh] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerLowHigh_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerLowHigh_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, 1, 3000000000 } /* (1..3000000000) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -947,7 +947,7 @@ CN_IntegerLowMax_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [CN-IntegerLowMax] >>> ***/ -static asn_per_constraints_t asn_PER_type_CN_IntegerLowMax_constr_1 = { +static asn_per_constraints_t asn_PER_type_CN_IntegerLowMax_constr_1 GCC_NOTUSED = { { APC_SEMI_CONSTRAINED, -1, -1, 1, 0 } /* (1..MAX) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1120,7 +1120,7 @@ NO_IntegerHighMax_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerHighMax] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerHighMax_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerHighMax_constr_1 GCC_NOTUSED = { { APC_SEMI_CONSTRAINED, -1, -1, 3000000000, 0 } /* (3000000000..MAX) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1293,7 +1293,7 @@ NO_IntegerLowestMax_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerLowestMax] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerLowestMax_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerLowestMax_constr_1 GCC_NOTUSED = { { APC_SEMI_CONSTRAINED, -1, -1, -3000000000, 0 } /* (-3000000000..MAX) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1460,7 +1460,7 @@ NO_IntegerOutRange_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerOutRange] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerOutRange_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerOutRange_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 1, -1, 3000000000, 3000000001 } /* (3000000000..3000000001) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1632,7 +1632,7 @@ NO_IntegerOutValue_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerOutValue] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerOutValue_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerOutValue_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 0, -1, 3000000000, 3000000000 } /* (3000000000..3000000000) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1804,7 +1804,7 @@ OK_IntegerInRange1_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [OK-IntegerInRange1] >>> ***/ -static asn_per_constraints_t asn_PER_type_OK_IntegerInRange1_constr_1 = { +static asn_per_constraints_t asn_PER_type_OK_IntegerInRange1_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 8, 8, -100, 100 } /* (-100..100) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -1971,7 +1971,7 @@ OK_IntegerInRange2_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [OK-IntegerInRange2] >>> ***/ -static asn_per_constraints_t asn_PER_type_OK_IntegerInRange2_constr_1 = { +static asn_per_constraints_t asn_PER_type_OK_IntegerInRange2_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 8, 8, -100, 100 } /* (-100..100) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -2138,7 +2138,7 @@ OK_IntegerInRange3_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [OK-IntegerInRange3] >>> ***/ -static asn_per_constraints_t asn_PER_type_OK_IntegerInRange3_constr_1 = { +static asn_per_constraints_t asn_PER_type_OK_IntegerInRange3_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -2305,7 +2305,7 @@ OK_IntegerInRange4_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [OK-IntegerInRange4] >>> ***/ -static asn_per_constraints_t asn_PER_type_OK_IntegerInRange4_constr_1 = { +static asn_per_constraints_t asn_PER_type_OK_IntegerInRange4_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -2472,7 +2472,7 @@ OK_IntegerInRange5_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [OK-IntegerInRange5] >>> ***/ -static asn_per_constraints_t asn_PER_type_OK_IntegerInRange5_constr_1 = { +static asn_per_constraints_t asn_PER_type_OK_IntegerInRange5_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 32, -1, (-2147483647L - 1), 2147483647 } /* (-2147483648..2147483647,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -2630,7 +2630,7 @@ NO_IntegerInRange6_encode_uper(asn_TYPE_descriptor_t *td, /*** <<< CTDEFS [NO-IntegerInRange6] >>> ***/ -static asn_per_constraints_t asn_PER_type_NO_IntegerInRange6_constr_1 = { +static asn_per_constraints_t asn_PER_type_NO_IntegerInRange6_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 32, -1, 0, 4294967295 } /* (0..4294967295) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ diff --git a/tests/95-choice-per-order-OK.asn1.-Pgen-PER b/tests/95-choice-per-order-OK.asn1.-Pgen-PER index f90a8132..d5d50453 100644 --- a/tests/95-choice-per-order-OK.asn1.-Pgen-PER +++ b/tests/95-choice-per-order-OK.asn1.-Pgen-PER @@ -58,12 +58,12 @@ extern asn_TYPE_descriptor_t asn_DEF_Choice; /*** <<< CTDEFS [Choice] >>> ***/ -static asn_per_constraints_t asn_PER_type_ch_constr_4 = { +static asn_per_constraints_t asn_PER_type_ch_constr_4 GCC_NOTUSED = { { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; -static asn_per_constraints_t asn_PER_type_Choice_constr_1 = { +static asn_per_constraints_t asn_PER_type_Choice_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ @@ -243,7 +243,7 @@ extern asn_TYPE_descriptor_t asn_DEF_Choice2; /*** <<< CTDEFS [Choice2] >>> ***/ -static asn_per_constraints_t asn_PER_type_Choice2_constr_1 = { +static asn_per_constraints_t asn_PER_type_Choice2_constr_1 GCC_NOTUSED = { { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ |