From: Paul Eggert Date: Mon, 16 Sep 2024 16:54:08 +0000 (-0700) Subject: Document use of empty macro args. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=3cbc5ea46fee3a9617bd9478dc8f75bc6cb135ca;p=gnulib.git Document use of empty macro args. --- diff --git a/ChangeLog b/ChangeLog index 8bf9e172c5..d4f3555e6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ one is empty. Although this change requires C99 or later, that’s safe nowadays. Suggested by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2024-09/msg00079.html + * doc/gnulib-readme.texi (C99 features assumed): + Document that we assume this C99 feature. * lib/c++defs.h (_GL_FUNCDECL_RPL, _GL_FUNCDECL_SYS): Revert yesterday’s changes. All callers changed. Add comments explaining the required comma before missing attrs. diff --git a/doc/gnulib-readme.texi b/doc/gnulib-readme.texi index 25d7b54e2c..eafb3a0b01 100644 --- a/doc/gnulib-readme.texi +++ b/doc/gnulib-readme.texi @@ -376,6 +376,9 @@ it directly, preferring plain @code{bool} via the @item Compound literals and designated initializers. +@item +Empty arguments in macro calls. + @item Variadic macros.@* @findex __VA_ARGS__