SIP_ETSI generated code fails to compile
The generated code in SIP_ETSI fails to build:
Build log
touch compile
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIP_CallControl.o SIP_CallControl.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIP_CallControl.hh:19,
from SIP_CallControl.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214,
from SIP_TypesAndConf.hh:20,
from SIP_Templates.hh:20,
from SIP_Steps.hh:23,
from SIP_CallControl.hh:20:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIP_MainModule.o SIP_MainModule.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIP_MainModule.hh:19,
from SIP_MainModule.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214,
from SIP_TypesAndConf.hh:20,
from SIP_Templates.hh:20,
from SIP_Steps.hh:23,
from SIP_Registration.hh:20,
from SIP_MainModule.hh:20:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIP_Messaging.o SIP_Messaging.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIP_Messaging.hh:19,
from SIP_Messaging.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214,
from SIP_TypesAndConf.hh:20,
from SIP_Templates.hh:20,
from SIP_Steps.hh:23,
from SIP_Messaging.hh:20:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIPmsg_PortType.o SIPmsg_PortType.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIPmsg_PortType.hh:19,
from SIPmsg_PortType.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIPmsg_Types.o SIPmsg_Types.cc
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIP_QueryingCapabilities.o SIP_QueryingCapabilities.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIP_QueryingCapabilities.hh:19,
from SIP_QueryingCapabilities.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214,
from SIP_TypesAndConf.hh:20,
from SIP_Templates.hh:20,
from SIP_Steps.hh:23,
from SIP_QueryingCapabilities.hh:20:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIP_Registration.o SIP_Registration.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIP_Registration.hh:19,
from SIP_Registration.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214,
from SIP_TypesAndConf.hh:20,
from SIP_Templates.hh:20,
from SIP_Steps.hh:23,
from SIP_Registration.hh:20:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
g++ -c -DLINUX -I/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include -Wall -o SIP_Steps.o SIP_Steps.cc
In file included from /nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/TTCN3.hh:83,
from SIP_Steps.hh:19,
from SIP_Steps.cc:11:
/nix/store/l89dydz2kb23kamdxi0pwfzl2kiicfk6-titan-core-11.0.0/include/Port.hh:155:16: warning: ‘virtual void PORT::log() const’ was hidden [-Woverloaded-virtual=]
155 | virtual void log() const;
| ^~~
In file included from SIPmsg_PortType.hh:214,
from SIP_TypesAndConf.hh:20,
from SIP_Templates.hh:20,
from SIP_Steps.hh:23:
SIPmsg_PT.hh:189:8: note: by ‘void SIPmsg__PortType::SIPmsg__PT::log(const char*, ...)’
189 | void log(const char *fmt, ...)
| ^~~
SIP_Steps.cc: In function ‘void SIP__Steps::getViaReplyAddr(SIPmsg__Types::ViaBody__List&, ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>&)’:
SIP_Steps.cc:5981:100: error: invalid ‘const_cast’ from type ‘ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>*’ to type ‘const SIPmsg__Types::SIP__address__type*’
5981 | if ((!(equivalentHostAddr(const_cast< const SIPmsg__Types::ViaBody&>(vl__ViaBody).sentBy().host(), const_cast< const SIPmsg__Types::SIP__address__type&>(loc__source__address).host())))) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SIP_Steps.cc:5984:59: error: invalid ‘const_cast’ from type ‘ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>*’ to type ‘const SIPmsg__Types::SIP__address__type*’
5984 | addParameterIfNotPresent(SIP__TypesAndConf::RECEIVED__ID, const_cast< const SIPmsg__Types::SIP__address__type&>(loc__source__address).host(), vl__ViaBody);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initUDPport(const COMPONENT&, const COMPONENT&)’:
SIP_Steps.cc:27440:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27440 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
| ^~~~
SIP_Steps.cc:27441:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27441 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
| ^~~~~~~~~
SIP_Steps.cc:27444:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27444 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
| ^~~~
SIP_Steps.cc:27445:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27445 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initTCPport(const COMPONENT&, const COMPONENT&)’:
SIP_Steps.cc:27477:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27477 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
| ^~~~
SIP_Steps.cc:27478:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27478 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
| ^~~~~~~~~
SIP_Steps.cc:27481:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27481 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
| ^~~~
SIP_Steps.cc:27482:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27482 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initUDPMTCport()’:
SIP_Steps.cc:27538:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27538 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
| ^~~~
SIP_Steps.cc:27539:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27539 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
| ^~~~~~~~~
SIP_Steps.cc:27542:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27542 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
| ^~~~
SIP_Steps.cc:27543:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27543 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initTCPMTCport()’:
SIP_Steps.cc:27564:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27564 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
| ^~~~
SIP_Steps.cc:27565:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27565 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
| ^~~~~~~~~
SIP_Steps.cc:27568:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27568 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
| ^~~~
SIP_Steps.cc:27569:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27569 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initUDPPTCport()’:
SIP_Steps.cc:27650:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27650 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR2;
| ^~~~
SIP_Steps.cc:27651:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27651 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT2;
| ^~~~~~~~~
SIP_Steps.cc:27654:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27654 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR2;
| ^~~~
SIP_Steps.cc:27655:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27655 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT2;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initTCPPTCport()’:
SIP_Steps.cc:27676:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27676 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR2;
| ^~~~
SIP_Steps.cc:27677:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27677 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT2;
| ^~~~~~~~~
SIP_Steps.cc:27680:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27680 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR2;
| ^~~~
SIP_Steps.cc:27681:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27681 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT2;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initUDPPTC2port()’:
SIP_Steps.cc:27702:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27702 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR3;
| ^~~~
SIP_Steps.cc:27703:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27703 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT3;
| ^~~~~~~~~
SIP_Steps.cc:27706:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27706 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR3;
| ^~~~
SIP_Steps.cc:27707:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27707 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT3;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initTCPPTC2port()’:
SIP_Steps.cc:27728:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27728 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR3;
| ^~~~
SIP_Steps.cc:27729:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27729 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT3;
| ^~~~~~~~~
SIP_Steps.cc:27732:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27732 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR3;
| ^~~~
SIP_Steps.cc:27733:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27733 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT3;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initUDPProxyPort()’:
SIP_Steps.cc:27784:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27784 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
| ^~~~
SIP_Steps.cc:27785:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27785 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
| ^~~~~~~~~
SIP_Steps.cc:27788:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27788 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__PROXY__IPADDR;
| ^~~~
SIP_Steps.cc:27789:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27789 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__PROXY__PORT;
| ^~~~~~~~~
SIP_Steps.cc: In function ‘void SIP__Steps::initTCPProxyPort()’:
SIP_Steps.cc:27810:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27810 | SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
| ^~~~
SIP_Steps.cc:27811:58: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27811 | SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
| ^~~~~~~~~
SIP_Steps.cc:27814:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘host’
27814 | SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__PROXY__IPADDR;
| ^~~~
SIP_Steps.cc:27815:57: error: ‘class ADDRESS_TYPE<SIPmsg__Types::SIP__address__type>’ has no member named ‘portField’
27815 | SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__PROXY__PORT;
| ^~~~~~~~~
make: *** [Makefile:137: SIP_Steps.o] Error 1
Presumably, this was caused by introduction of ADDRESS_TYPE
wrapper in titan.core@e2ca6d39
I managed to make it build by patching the generated code but not sure what component needs to be updated so that proper code is generated:
Workaround patch
--- a/SIP_ETSI/SIP_Steps.cc
+++ b/SIP_ETSI/SIP_Steps.cc
@@ -5978,10 +5978,10 @@
vl__ViaBody = const_cast< const SIPmsg__Types::ViaBody__List&>(loc__ViaBody__List)[0];
current_location.update_lineno(1995);
/* SIP_Steps.ttcn, line 1995 */
-if ((!(equivalentHostAddr(const_cast< const SIPmsg__Types::ViaBody&>(vl__ViaBody).sentBy().host(), const_cast< const SIPmsg__Types::SIP__address__type&>(loc__source__address).host())))) {
+if ((!(equivalentHostAddr(const_cast< const SIPmsg__Types::ViaBody&>(vl__ViaBody).sentBy().host(), const_cast< const ADDRESS_TYPE< SIPmsg__Types::SIP__address__type >&>(loc__source__address)().host())))) {
current_location.update_lineno(1997);
/* SIP_Steps.ttcn, line 1997 */
-addParameterIfNotPresent(SIP__TypesAndConf::RECEIVED__ID, const_cast< const SIPmsg__Types::SIP__address__type&>(loc__source__address).host(), vl__ViaBody);
+addParameterIfNotPresent(SIP__TypesAndConf::RECEIVED__ID, const_cast< const ADDRESS_TYPE< SIPmsg__Types::SIP__address__type >&>(loc__source__address)().host(), vl__ViaBody);
}
current_location.update_lineno(2002);
/* SIP_Steps.ttcn, line 2002 */
@@ -27437,12 +27437,12 @@
}
current_location.update_lineno(7992);
/* SIP_Steps.ttcn, line 7992 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT;
current_location.update_lineno(7996);
/* SIP_Steps.ttcn, line 7996 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT;
}
void start_initUDPport(const COMPONENT& component_reference, const COMPONENT& loc__Comp, const COMPONENT& loc__system)
@@ -27474,12 +27474,12 @@
}
current_location.update_lineno(8005);
/* SIP_Steps.ttcn, line 8005 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT;
current_location.update_lineno(8009);
/* SIP_Steps.ttcn, line 8009 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT;
}
void start_initTCPport(const COMPONENT& component_reference, const COMPONENT& loc__Comp, const COMPONENT& loc__system)
@@ -27535,12 +27535,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8021, TTCN_Location::LOCATION_FUNCTION, "initUDPMTCport");
current_location.update_lineno(8022);
/* SIP_Steps.ttcn, line 8022 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT;
current_location.update_lineno(8026);
/* SIP_Steps.ttcn, line 8026 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT;
}
void start_initUDPMTCport(const COMPONENT& component_reference)
@@ -27561,12 +27561,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8031, TTCN_Location::LOCATION_FUNCTION, "initTCPMTCport");
current_location.update_lineno(8032);
/* SIP_Steps.ttcn, line 8032 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT;
current_location.update_lineno(8036);
/* SIP_Steps.ttcn, line 8036 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT;
}
void start_initTCPMTCport(const COMPONENT& component_reference)
@@ -27647,12 +27647,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8055, TTCN_Location::LOCATION_FUNCTION, "initUDPPTCport");
current_location.update_lineno(8056);
/* SIP_Steps.ttcn, line 8056 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR2;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT2;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR2;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT2;
current_location.update_lineno(8060);
/* SIP_Steps.ttcn, line 8060 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR2;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT2;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR2;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT2;
}
void start_initUDPPTCport(const COMPONENT& component_reference)
@@ -27673,12 +27673,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8065, TTCN_Location::LOCATION_FUNCTION, "initTCPPTCport");
current_location.update_lineno(8066);
/* SIP_Steps.ttcn, line 8066 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR2;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT2;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR2;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT2;
current_location.update_lineno(8070);
/* SIP_Steps.ttcn, line 8070 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR2;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT2;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR2;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT2;
}
void start_initTCPPTCport(const COMPONENT& component_reference)
@@ -27699,12 +27699,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8075, TTCN_Location::LOCATION_FUNCTION, "initUDPPTC2port");
current_location.update_lineno(8076);
/* SIP_Steps.ttcn, line 8076 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR3;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT3;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR3;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT3;
current_location.update_lineno(8080);
/* SIP_Steps.ttcn, line 8080 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR3;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT3;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR3;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT3;
}
void start_initUDPPTC2port(const COMPONENT& component_reference)
@@ -27725,12 +27725,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8085, TTCN_Location::LOCATION_FUNCTION, "initTCPPTC2port");
current_location.update_lineno(8086);
/* SIP_Steps.ttcn, line 8086 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR3;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT3;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR3;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT3;
current_location.update_lineno(8090);
/* SIP_Steps.ttcn, line 8090 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__ETS__IPADDR3;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__ETS__PORT3;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__ETS__IPADDR3;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__ETS__PORT3;
}
void start_initTCPPTC2port(const COMPONENT& component_reference)
@@ -27781,12 +27781,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8102, TTCN_Location::LOCATION_FUNCTION, "initUDPProxyPort");
current_location.update_lineno(8103);
/* SIP_Steps.ttcn, line 8103 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT;
current_location.update_lineno(8107);
/* SIP_Steps.ttcn, line 8107 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__PROXY__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__PROXY__PORT;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__PROXY__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__PROXY__PORT;
}
void start_initUDPProxyPort(const COMPONENT& component_reference)
@@ -27807,12 +27807,12 @@
TTCN_Location current_location("SIP_Steps.ttcn", 8112, TTCN_Location::LOCATION_FUNCTION, "initTCPProxyPort");
current_location.update_lineno(8113);
/* SIP_Steps.ttcn, line 8113 */
-SIP__TypesAndConf::SipComponent_component_v__sent__label.host() = SIP__TypesAndConf::PX__IUT__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__sent__label.portField() = SIP__TypesAndConf::PX__IUT__PORT;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().host() = SIP__TypesAndConf::PX__IUT__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__sent__label().portField() = SIP__TypesAndConf::PX__IUT__PORT;
current_location.update_lineno(8117);
/* SIP_Steps.ttcn, line 8117 */
-SIP__TypesAndConf::SipComponent_component_v__ets__label.host() = SIP__TypesAndConf::PX__PROXY__IPADDR;
-SIP__TypesAndConf::SipComponent_component_v__ets__label.portField() = SIP__TypesAndConf::PX__PROXY__PORT;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().host() = SIP__TypesAndConf::PX__PROXY__IPADDR;
+SIP__TypesAndConf::SipComponent_component_v__ets__label().portField() = SIP__TypesAndConf::PX__PROXY__PORT;
}
void start_initTCPProxyPort(const COMPONENT& component_reference)
This was previously https://gitlab.eclipse.org/eclipse/titan/titan.misc/-/issues/23 but got eaten by anti-spam.