osmo-iuh/include/osmocom/sabp
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
SABP_Available-Bandwidth.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Broadcast-Message-Content-Validity-Indicator.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Broadcast-Message-Content.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Category.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Cause.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Criticality-Diagnostics.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Criticality.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_CriticalityDiagnostics-IE-List-Value.h asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
SABP_CriticalityDiagnostics-IE-List.h asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
SABP_Data-Coding-Scheme.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Error-Indication.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Failure-List-Item.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Failure-List.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Failure.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_IE-Extensions.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_IE.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_InitiatingMessage.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Kill-Complete.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Kill-Failure.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Kill.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Load-Query-Complete.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Load-Query-Failure.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Load-Query.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Message-Identifier.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Message-Status-Query-Complete.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Message-Status-Query-Failure.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Message-Status-Query.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_MessageStructure-Value.h asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
SABP_MessageStructure.h asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
SABP_New-Serial-Number.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Number-Of-Broadcasts-Completed-Info.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Number-of-Broadcasts-Completed-List-Item.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Number-of-Broadcasts-Completed-List.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Number-of-Broadcasts-Requested.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Old-Serial-Number.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Paging-ETWS-Indicator.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Presence.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_ProcedureCode.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_ProtocolExtensionID.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_ProtocolIE-ID.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Radio-Resource-Loading-List-Item.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Radio-Resource-Loading-List.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Recovery-Indication.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Repetition-Period.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_RepetitionNumber0.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_RepetitionNumber1.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Reset-Complete.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Reset-Failure.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Reset.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Restart.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_SABP-PDU.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Serial-Number.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Service-Area-Identifier.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Service-Areas-List.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_SuccessfulOutcome.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_TriggeringMessage.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_TypeOfError.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_UnsuccessfulOutcome.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Warning-Type.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_WarningSecurityInfo.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Write-Replace-Complete.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Write-Replace-Failure.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
SABP_Write-Replace.h sabp: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 17:17:43 +02:00
sabp_common.h sabp: Generate C/H files for SABP; create libosmo-sabp 2019-09-23 20:23:51 +02:00