Skip to content

Conversation

@johnhe4
Copy link
Contributor

@johnhe4 johnhe4 commented Oct 13, 2025

#3480

Issue when compiling C++, even though all code is valid C. Consider test.c:

int main()
{
   enum lws_write_protocol{ LWS_WRITE_CONTINUATION = 2, LWS_WRITE_NO_FIN = 0x40 };
   enum lws_write_protocol r = LWS_WRITE_CONTINUATION;
   r |= LWS_WRITE_NO_FIN;
   (void)r;
}

Compile with clang -x c++ test.c to see the issue.

@lws-team lws-team force-pushed the main branch 5 times, most recently from a677221 to 0c67054 Compare October 24, 2025 16:36
@johnhe4 johnhe4 changed the title Compilation fix for Apple clang-1700.0.13.5 Compilation fix for Apple clang-1700.0.13.5 (using C++ compile) Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant