Skip to content

Fix build error on mingw with clang #4511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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
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