This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/25454 ) Change subject: Fix attribute parsing on gcc 11.1.0 ...................................................................... Fix attribute parsing on gcc 11.1.0 Fixes following compilation error: "osmo-mgw/src/libosmo-mgcp/mgcp_stat.c:39:1: error: ‘integer’ attribute directive ignored" Fixes: f936e10f07b7a55d53a6f426b80364f6d368c5a0 Change-Id: Ia5167068abe8a22cd35a833396cbd7cb531c7e83 --- M src/libosmo-mgcp/mgcp_stat.c 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/54/25454/1 diff --git a/src/libosmo-mgcp/mgcp_stat.c b/src/libosmo-mgcp/mgcp_stat.c index 357b593..948d729 100644 --- a/src/libosmo-mgcp/mgcp_stat.c +++ b/src/libosmo-mgcp/mgcp_stat.c @@ -32,6 +32,9 @@ /* Helper function for mgcp_format_stats_rtp() to calculate packet loss */ #if defined(__has_attribute) #if __has_attribute(no_sanitize) +/* GCC 11.1.0 throws error: "error: 'integer' attribute directive ignored" */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wattributes" __attribute__((no_sanitize("integer"))) #endif #endif @@ -62,6 +65,11 @@ *loss = INT_MAX; } } +#if defined(__has_attribute) +#if __has_attribute(no_sanitize) +#pragma GCC diagnostic pop +#endif +#endif /* Helper function for mgcp_format_stats_rtp() to calculate jitter */ uint32_t calc_jitter(struct mgcp_rtp_state *state) -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/25454 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: Ia5167068abe8a22cd35a833396cbd7cb531c7e83 Gerrit-Change-Number: 25454 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210914/3afd2237/attachment.htm>