osmo-iuh/src/hnbap
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
..
.gitignore Cleanups (rename 'asn1c' to 'hnbap', Makefile sanitizing) 2015-09-10 10:53:37 +02:00
HNBAP_Access-stratum-release-indicator.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_AccessResult.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_AdditionalNeighbourInfoList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_AltitudeAndDirection.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_BackoffTimer.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_BindingID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CELL-FACHMobilitySupport.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CGI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CN-DomainIndicator.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CSG-Capability.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CSG-ID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CSGMembershipStatus.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CSGMembershipUpdate.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Cause.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CauseMisc.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CauseProtocol.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CauseRadioNetwork.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CauseTransport.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CellIdentity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_ConfigurationInformation.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Context-ID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Criticality.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_CriticalityDiagnostics-IE-List-Value.c asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
HNBAP_CriticalityDiagnostics-IE-List.c asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00
HNBAP_CriticalityDiagnostics.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_ESN.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_ErrorIndication.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_GTP-TEI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_GeographicalCoordinates.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_GeographicalLocation.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-Cell-Access-Mode.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-Cell-Identifier.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-GWResponse.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-Identity-Info.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-Identity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-Location-Information.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNB-RNL-Identity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBAP-PDU.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBCapacity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBConfigInfo.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBConfigTransferRequest.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBConfigTransferResponse.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBConfigurationInformationMissing.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBConfigurationInformationProvided.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBDe-Register.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBRegisterAccept.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBRegisterReject.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_HNBRegisterRequest.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IE-Extensions.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IE.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IMEI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IMSI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IMSIDS41.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IMSIESN.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_IP-Address.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_InitiatingMessage.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Ipv4Address.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Ipv6Address.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Iurh-Signalling-TNL-AddressList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_LAC.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_LAI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_MacroCellID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_MacroCoverageInformation.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_MuxPortNumber.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_NeighbourCellIdentityList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_NeighbourIdentity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_NeighbourInfoList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_NeighbourInfoRequestItem.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_NeighbourInfoRequestList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_PLMNidentity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_PSC.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_PTMSI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_PTMSIRAI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Presence.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_PrivateIE-ID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_PrivateMessage.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_ProcedureCode.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_ProtocolIE-ID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RAB-ID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RABList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RABListItem.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RAC.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RAI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RNC-ID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Registration-Cause.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_RelocationComplete.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_S-RNTIPrefix.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_SAC.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_SuccessfulOutcome.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TMSIDS41.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TMSILAI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TNLUpdateFailure.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TNLUpdateRequest.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TNLUpdateResponse.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TransportInfo.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TransportLayerAddress.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TriggeringMessage.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Tunnel-Information.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_TypeOfError.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_U-RNTI.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_U-RNTIQueryRequest.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_U-RNTIQueryResponse.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UDP-Port-Number.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UE-Capabilities.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UE-Identity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UEDe-Register.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UERegisterAccept.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UERegisterReject.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UERegisterRequest.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_URAIdentity.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_URAIdentityList.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UTRANCellID.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UnknownU-RNTIIndication.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_UnsuccessfulOutcome.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
HNBAP_Update-cause.c hnbap: Use asn1c flag -fcompound-names to avoid name collisions with other libs 2021-10-27 16:51:18 +02:00
Makefile.am asn1: fix visibility warnings from generated code 2022-11-14 09:52:14 +01:00