Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Aug 9, 2025

Problem:

  • GCC and clang differ regarding where they allow _Pragma, resulting in clumsy handling of semicolons.

Solution:

  • Use a "null statement" (static_assert(true)) in the macro(s) so that neither GCC nor clang complains about extra semicolons.

Problem:
- GCC and clang differ regarding where they allow `_Pragma`, resulting in clumsy
  handling of semicolons.

Solution:
- Use a "null statement" (`static_assert(true)`) in the macro(s) so that neither
  GCC nor clang complains about extra semicolons.
@lukevalenty lukevalenty merged commit aa955ab into intel:main Aug 9, 2025
27 checks passed
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.

2 participants