Skip to content
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

warning: ISO C99 requires at least one argument for the "..." in a variadic macro #105

Open
nradulovic opened this issue Nov 12, 2021 · 1 comment

Comments

@nradulovic
Copy link

GCC will generate the above warning in the following case.

To Reproduce

  1. Define a fake function with return value and no arguments: FAKE_VALUE_FUNC(int, some_function)
  2. Compile the test with GCC with the following flags: -std=c11 -Wall -Wextra -pedantic

Expected behavior
Compilation without warnings

Compiler, toolset, platform (please complete the following information):

  • toolchain: arm-none-eabi-gcc 10.2.1 20201103
  • OS: Windows 10
@nradulovic
Copy link
Author

See PR #95 for the same 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

No branches or pull requests

1 participant