https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127491
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Variadic macro |inconsistency between the
|documentation incorrectly |Preprocessor documentation
|says , ## __VA_ARGS__ |and the C extenstion
|removes the comma for an |documentation for `,##
|empty argument |__VA_ARGS__` and empty
| |macro arguments
Status|WAITING |NEW
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
So yes there is some inconsistency between the documentations; I tried looking
for the documentation for __VA_ARGS__ in the main documentation but I missed it
somehow.
For history on the documentation.
cpp.text was updated at r0-29552-g5ef865d5709f9c for the new preprocessor.
While extend.texi was updated at r0-32951-gccd96f0ad82a52 for the new
preprocessor but looks like missed the change for the empty argument was done
(this was a change done when the preprocessor was re-written for GCC 3 IIRC).