Skip to content

Conversation

jimying
Copy link
Contributor

@jimying jimying commented Jul 25, 2025

missing PJ_ALIGN_DATA_PREFIX

error log:

../src/pjlib-test/atomic_slist.c:74:16: error: expected identifier or '('
   74 | typedef struct PJ_ATOMIC_SLIST_ALIGN_PREFIX slist_node {
      |                ^
../include/pj/atomic_slist.h:47:66: note: expanded from macro 'PJ_ATOMIC_SLIST_ALIGN_PREFIX'
   47 | #   define PJ_ATOMIC_SLIST_ALIGN_PREFIX     PJ_ALIGN_DATA_PREFIX(PJ_ATOMIC_SLIST_ALIGNMENT)

missing PJ_ALIGN_DATA_PREFIX
@sauwming sauwming requested review from sauwming and nanangizz July 25, 2025 08:23
@sauwming sauwming added this to the release-2.16 milestone Jul 25, 2025
@sauwming sauwming merged commit a14d417 into pjsip:master Aug 11, 2025
42 checks passed
@jimying jimying deleted the mingw-clang branch August 11, 2025 08:58
dshamaev-intermedia added a commit to intermedia-net/pjproject that referenced this pull request Sep 15, 2025
…nt/im-2.15.1

* commit '1f4232a69665eeb27f77587d8b12d7265eb60d97': (381 commits)
  Added missing file for Python 3 compatibility pull request 4577 (pjsip#4578)
  Fixed Contact rewrite if Via received contains port (pjsip#4581)
  Made legacy Python 2 bindings compile with Python 3 (pjsip#4577)
  Reduce string comparison overhead in `pj_strstr`/`pj_stristr` (pjsip#4575)
  Avoid calling `pj_log_get_level` when `level` is greater than `PJ_LOG_MAX_LEVEL` (pjsip#4576)
  Use C11 atomics when available (pjsip#4570)
  Fix to syntax errors in conf_switch pjmedia_conf_create2 and made param const. (pjsip#4568)
  Add direction and signature fields to conference port info (pjsip#4556)
  Add PJSIP_MSG_INFO_HAS_EXTRA_DETAILS macro for enhanced SIP transport logging (pjsip#4560)
  pj_stun_sock_create: Use pj_sockaddr_has_addr instead of checking socket family directly to account for network stacks that do not support IPv6. (pjsip#4552)
  fix invalid use of pj_sock_getsockname() (pjsip#4551)
  Add conference test with call simulation to MIPS test (pjsip#4549)
  prevent infinite loop on reading of invalide wav/avi file (pjsip#4545)
  post pjsip#4497 fix: Gracefull conf port destroying when get_free_op_entry() called from pjmedia_conf_add_port() returns NULL (pjsip#4544)
  fix: the issue of out-of-order data sent by TLS connection (pjsip#4533) (pjsip#4543)
  Add lock to WAV player for convenient set_pos() & get_pos() (pjsip#4540)
  Prevent race condition in Unix thread creation (pjsip#4537)
  Use group lock for keep alive timer in SIP transport TCP and TLS (pjsip#4536)
  Fix build error on mingw with clang (pjsip#4511)
  Fix potential overflow in `platform_strerror` (pjsip#4532)
  ...

# Conflicts:
#	.github/workflows/ci-android.yml
#	.github/workflows/update-master.yml
#	pjlib/include/pj/config.h
#	pjmedia/src/pjmedia/stream.c
#	pjmedia/src/pjmedia/transport_srtp.c
#	pjmedia/src/pjmedia/vid_stream.c
#	pjmedia/src/test/test.c
#	pjmedia/src/test/test.h
#	pjsip-apps/build/swig_java_pjsua2.vcxproj
#	pjsip-apps/src/pjsua/pjsua_app.c
#	pjsip/src/pjsua-lib/pjsua_acc.c
#	pjsip/src/pjsua-lib/pjsua_aud.c
#	pjsip/src/pjsua-lib/pjsua_core.c
#	pjsip/src/pjsua-lib/pjsua_media.c
#	pjsip/src/pjsua2/endpoint.cpp
#	pjsip/src/test/tsx_uas_test.c
#	version.mak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants