Skip to content

Ignore gnu-zero-variable-macro-arguments#2252

Open
EstherWx wants to merge 2 commits intoTencent:masterfrom
EstherWx:fix-clang-warning
Open

Ignore gnu-zero-variable-macro-arguments#2252
EstherWx wants to merge 2 commits intoTencent:masterfrom
EstherWx:fix-clang-warning

Conversation

@EstherWx
Copy link
Copy Markdown
Contributor

@EstherWx EstherWx commented Jan 18, 2024

Ignore gnu-zero-variadic-macro-arguments for clang because "VA_ARGS" is a GNU extension, not part of the standard C language.

To eliminate the warning for gnu-zero-variadic-macro-arguments,
add an argument for the variadic macro argument in the
TYPED_TEST_CASE macro call.
Ignore gnu-zero-variadic-macro-arguments for clang because
"__VA_ARGS__" is a GNU extension, not part of the standard
C language.

Change-Id: Id153a24bf4ac2de5623e85c11ac4ca24b6224fd0
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