[OpenSIPS-Devel] [OpenSIPS/opensips] b53c3a: Improve str_match() macros (paranthesize macro arg...

Liviu Chircu noreply at github.com
Tue Aug 16 19:42:09 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b53c3a7b4606d178c4f3757468d39c8310561b44
      https://github.com/OpenSIPS/opensips/commit/b53c3a7b4606d178c4f3757468d39c8310561b44
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-08-16 (Tue, 16 Aug 2022)

  Changed paths:
    M lib/str2const.h

  Log Message:
  -----------
  Improve str_match() macros (paranthesize macro arguments)

This fixes possible Clang compiler warnings on Ubuntu 18.04 when nesting
the str_match() and str_const_init() macros:

error: too many arguments provided to function-like macro invocation





More information about the Devel mailing list