Conversation
Functions without arguments need FAKE_VALUE_FUNC0 instead of FAKE_VALUE_FUNC, otherwise C compiler will emit warnings like ISO C99 requires at least one argument for the "..." in a variadic macro
|
✅ Build fff 89-appveyor completed (commit 7e356d6225 by @mmitch) |
|
I just opened a pull request to fix this warning, so you won't need to use |
|
Your linked pull request does not resolve, did you mean #98? |
|
Ah, yes, sorry. |
|
I have applied your pull request to my project after reverting from FAKE_VALUE_FUNC0 to FAKE_VALUE_FUNC. While the GCC throws no pedantic errors after applying your patch, the clang build still fails. (I was unsure if I should reply here or over at your pull request.) |
b0792e6 to
bdb7397
Compare
This is a documentation update:
Functions without arguments need FAKE_VALUE_FUNC0 instead of FAKE_VALUE_FUNC, otherwise C compiler will emit warnings like ISO C99 requires at least one argument for the "..." in a variadic macro.