Without this patch, it complains: "version-etc.h", line 64:
warning: token-less macro argument (E_TOKENLESS_MACRO)" when in
pedantic mode.
* lib/version-etc.h (version_etc): Port to C89 macro rules.
+2020-09-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ version-etc: pacify Oracle Studio 12.6
+ Without this patch, it complains: "version-etc.h", line 64:
+ warning: token-less macro argument (E_TOKENLESS_MACRO)" when in
+ pedantic mode.
+ * lib/version-etc.h (version_etc): Port to C89 macro rules.
+
2020-09-27 Bruno Haible <bruno@clisp.org>
Avoid "warning: The macro `AC_DECL_SYS_SIGLIST' is obsolete".
/* Attributes for variadic functions. */
/* The variadic function expects a trailing NULL argument.
- ATTRIBUTE_SENTINEL () - The last argument is NULL.
+ ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99).
ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */
/* Applies to: functions. */
#define ATTRIBUTE_SENTINEL(pos) _GL_ATTRIBUTE_SENTINEL (pos)
const char *command_name, const char *package,
const char *version,
/* const char *author1, ..., NULL */ ...)
- _GL_ATTRIBUTE_SENTINEL ();
+ _GL_ATTRIBUTE_SENTINEL ((0));
/* Display the usual "Report bugs to" stanza. */
extern void emit_bug_reporting_address (void);