[OpenSIPS-Devel] [OpenSIPS/opensips] a534f2: Fix build with clang 15: get rid of the 30-year ol...

Maksym Sobolyev noreply at github.com
Fri Mar 24 00:51:37 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a534f2cae049fbb0a6caec056b81b3a61b5b1370
      https://github.com/OpenSIPS/opensips/commit/a534f2cae049fbb0a6caec056b81b3a61b5b1370
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M md5.c
    M md5.h
    M md5global.h
    M md5utils.c
    M modules/proto_smpp/smpp.c
    M modules/sip_i/sip_i.c
    M strcommon.c
    M transformations.c
    M ut.h

  Log Message:
  -----------
  Fix build with clang 15: get rid of the 30-year old PROTO_LIST
hack to deal with some prehistoric compilers. Switch public
API to use char *, not unsigned char *, which is kinda pointless.
Also make arguments const where appropriate.


  Commit: 33bf8127883fdccfdcbdd80dfe7d62c032df86c1
      https://github.com/OpenSIPS/opensips/commit/33bf8127883fdccfdcbdd80dfe7d62c032df86c1
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M modules/call_center/cc_db.c
    M modules/ldap/iniparser.c

  Log Message:
  -----------
  clang 15 fix: get rid of variable that is set but not used.


  Commit: 9eba3acaab7bed908252101141dc5bf5713a1f28
      https://github.com/OpenSIPS/opensips/commit/9eba3acaab7bed908252101141dc5bf5713a1f28
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M db/db.c
    M modules/dialplan/dp_db.h

  Log Message:
  -----------
  clang15 fix: define function prototype properly.


  Commit: 5e1b428a1906f7f92748860360d3183e4eb2b1d1
      https://github.com/OpenSIPS/opensips/commit/5e1b428a1906f7f92748860360d3183e4eb2b1d1
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M modules/pi_http/pi_http.c

  Log Message:
  -----------
  clang-15 fix: make child_init() prototype match actual function.


  Commit: fb3b60bb5aca04edf87aac37b7b2b9fd3a81c532
      https://github.com/OpenSIPS/opensips/commit/fb3b60bb5aca04edf87aac37b7b2b9fd3a81c532
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  GC unused variable.


  Commit: d94c8920183239cd1f739b65f0fd94b8f4afd154
      https://github.com/OpenSIPS/opensips/commit/d94c8920183239cd1f739b65f0fd94b8f4afd154
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M .github/workflows/main.yml

  Log Message:
  -----------
  Get rid of the ubuntu-18.04, add clang-14 and clang-15.


Compare: https://github.com/OpenSIPS/opensips/compare/c7e142f08fd5...d94c89201832



More information about the Devel mailing list