Change in osmo-upf[master]: add pfcp msg test
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/27638 ) Change subject: add pfcp msg test ...................................................................... Patch Set 4: (1 comment) File tests/libosmo-pfcp/pfcp_test.c: https://gerrit.osmocom.org/c/osmo-upf/+/27638/comment/46a051af_487b3833 PS4, Line 42: const struct osmo_sockaddr v4_gtp = { I have a problem now. You can see v4_gtp is const. (also tried with static const) At home with gcc (Debian 8.3.0-6) 8.3.0 it compiles fine. Jenkins however says: pfcp_test.c:61:10: error: initializer element is not constant .v4 = v4_gtp, ^~~~~~ Same for a couple more similar cases below. stackoverflow suggests these should be #defines instead. any better idea anyone? -- To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/27638 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-upf Gerrit-Branch: master Gerrit-Change-Id: I30bdfc66a8f96c0639513ef406e9b66525dced6d Gerrit-Change-Number: 27638 Gerrit-PatchSet: 4 Gerrit-Owner: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Comment-Date: Mon, 06 Jun 2022 23:59:33 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
participants (1)
-
neels