osmo-iuh/include/osmocom/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
..
Makefile.am asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
RUA_Ansi-41-IDNNS.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CN-DomainIndicator.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CSGMembershipStatus.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Cause.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CauseMisc.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CauseProtocol.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CauseRadioNetwork.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CauseTransport.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Connect.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_ConnectionlessTransfer.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Context-ID.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Criticality.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_CriticalityDiagnostics-IE-List-Value.h asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
RUA_CriticalityDiagnostics-IE-List.h asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
RUA_CriticalityDiagnostics.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_DirectTransfer.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Disconnect.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_ErrorIndication.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Establishment-Cause.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Gsm-map-IDNNS.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_IE-Extensions.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_IE.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_InitiatingMessage.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_IntraDomainNasNodeSelector.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_Presence.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_PrivateIE-ID.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_PrivateMessage.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_ProcedureCode.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_ProtocolIE-ID.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_RANAP-Message.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_RUA-PDU.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_RoutingParameter.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_SuccessfulOutcome.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_TriggeringMessage.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_TypeOfError.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
RUA_UnsuccessfulOutcome.h rua: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:53:37 +02:00
rua_common.h Introduce dynamic log category for libosmo-rua/hnbap 2022-01-04 18:57:22 +01:00
rua_msg_factory.h build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00