osmo-iuh/asn1/rua
Oliver Smith 48c038d399 asn1: fix visibility warnings from generated code
Fix warnings from generated asn1 code in order to build osmo-iuh with
werror in a future patch:

../../include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h:29:23: error: ‘struct HNBAP_CriticalityDiagnostics_IE_List__Member’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]

These visibility warnings come from "SEQUENCE … OF SEQUENCE" definitions
in the asn1 source files, as described in detail here:
https://github.com/vlm/asn1c/issues/430

It is not possible to tell gcc to just ignore these warnings since they
don't have their own type (unlike e.g. -Wuninitialized). Also it seems
like a huge effort to patch this in asn1c.

So work around the problem the same way the author of the issue worked
around it by rewriting the lines to "SEQUENCE … OF …-Value" and adding
a "…-Value ::= SEQUENCE" line below. Add a script in
asn1/utils/asn1_restructure_sequence_of_sequence.py for the
transformation and apply it.

Related: OS#4462
Change-Id: If84445ed2e0df604b581684dcf83f8520b7da84c
2022-11-14 09:52:14 +01:00
..
eurecom treewide: remove FSF address 2021-12-14 12:16:45 +01:00
RUA-CommonDataTypes.asn Add Procedure Codes and IEI constants to CommonDataTypes 2015-08-30 19:09:55 +02:00
RUA-Constants.asn add RUA asn.1 syntax from 3GPP TS 25.468 V12.1.0 (2014-12) 2015-08-29 09:33:12 +02:00
RUA-Containers.asn add RUA asn.1 syntax from 3GPP TS 25.468 V12.1.0 (2014-12) 2015-08-29 09:33:12 +02:00
RUA-IEs.asn asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
RUA-PDU-Contents.asn RUA: Add missing RUA-PDU-Contents.asn and RUA-PDU-Descriptions.asn 2015-08-29 12:32:02 +02:00
RUA-PDU-Descriptions.asn RUA: Add missing RUA-PDU-Contents.asn and RUA-PDU-Descriptions.asn 2015-08-29 12:32:02 +02:00
RUA-PDU.asn generate ASN.1 structures for each message withotu iformation object class 2015-08-30 19:57:43 +02:00