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

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


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a07ae74c4e59af9a8d3b37935ee261b8171852de
      https://github.com/OpenSIPS/opensips/commit/a07ae74c4e59af9a8d3b37935ee261b8171852de
  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 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: fdd4f76aefdeaca2f05cae60d56478ebed69f2c0
      https://github.com/OpenSIPS/opensips/commit/fdd4f76aefdeaca2f05cae60d56478ebed69f2c0
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M modules/cachedb_local/hash.h

  Log Message:
  -----------
  Fix prototype for lcache_htable_destroy() to match implementation.


  Commit: 69737a8e4f987000f36c65f86d43dff0b2bdd377
      https://github.com/OpenSIPS/opensips/commit/69737a8e4f987000f36c65f86d43dff0b2bdd377
  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: e575926643afd062ca9c923513be067f11bc9103
      https://github.com/OpenSIPS/opensips/commit/e575926643afd062ca9c923513be067f11bc9103
  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: f9f9abcb6beed8ee1956f314221a42b4bca3ca05
      https://github.com/OpenSIPS/opensips/commit/f9f9abcb6beed8ee1956f314221a42b4bca3ca05
  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: a23bae73adb9a9eaf0e61a60fe140e3a6afc3067
      https://github.com/OpenSIPS/opensips/commit/a23bae73adb9a9eaf0e61a60fe140e3a6afc3067
  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: 435561e67da7cee4fdcb3fbbf7883ec464f3ab39
      https://github.com/OpenSIPS/opensips/commit/435561e67da7cee4fdcb3fbbf7883ec464f3ab39
  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/b6f00e89f6c1...435561e67da7



More information about the Devel mailing list