Skip to content

Conversation

@Horolsky
Copy link

@Horolsky Horolsky commented Jul 7, 2025

It would be nice to resolve this issue, since there are many areas where standards require overly strict rules like -Wgnu-zero-variadic-macro-arguments, and the preprocessor is not easily isolated for suppression.

This fix is based on:

  • Using void for types with empty bases, highly frequent usecase
  • _EMPTY member macros, ugly (exposing few internals as library API), but functional.

@Horolsky
Copy link
Author

Horolsky commented Jul 8, 2025

Hi @pdimov , I have doubts about describing circumvents in the main doc, so if you find the solution itself good enough, I guess it could be delivered as a hidden feature with instructions only in gh issue

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