Project

General

Profile

Actions

Bug #5677

open

error: 'osmux_xfrm_output_init2' is deprecated: Use osmux_xfrm_output_alloc() and osmux_xfrm_output_set_rtp_*() instead

Added by laforge 23 days ago. Updated 23 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/12/2022
Due date:
% Done:

0%

Spec Reference:

Description

It looks like osmux.c is using symbols itself which are deprecated, breaking compilation (at least on debian unstable):

$ git status
On branch master
Your branch is up to date with 'gerrit/master'.
$ make
make[2]: Entering directory '/space/home/laforge/projects/git/libosmo-netif/src'
  CC       osmux.lo
osmux.c: In function 'osmux_xfrm_output_init':
osmux.c:916:9: error: 'osmux_xfrm_output_init2' is deprecated: Use osmux_xfrm_output_alloc() and osmux_xfrm_output_set_rtp_*() instead [-Werror=deprecated-declarations]
  916 |         osmux_xfrm_output_init2(h, rtp_ssrc, 98);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
osmux.c:901:6: note: declared here
  901 | void osmux_xfrm_output_init2(struct osmux_out_handle *h, uint32_t rtp_ssrc, uint8_t rtp_payload_type)
      |      ^~~~~~~~~~~~~~~~~~~~~~~

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)