The function is only called from the xs file, and C11’s inline semantics mean that gcc-5 and later miscompile this file when no optimization is specified.
Signed-off-by: James Cloos cloos@jhcloos.com You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1020
-- Commit Summary --
* Make app_perl’s sv2int_str() static
-- File Changes --
M src/modules/app_perl/kamailioxs.xs (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1020.patch https://github.com/kamailio/kamailio/pull/1020.diff