* lib/warn-on-use.h: Document a restriction of _GL_WARN_ON_USE.
+2024-02-05 Bruno Haible <bruno@clisp.org>
+
+ snippet/warn-on-use: Add comment.
+ * lib/warn-on-use.h: Document a restriction of _GL_WARN_ON_USE.
+
2024-02-03 Paul Eggert <eggert@cs.ucla.edu>
xalloc-oversized: omit unnecessary cast
_GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline'
linkage.
+ _GL_WARN_ON_USE should not be used more than once for a given function
+ in a given compilation unit (because this may generate a warning even
+ if the function is never called).
+
However, one of the reasons that a function is a portability trap is
if it has the wrong signature. Declaring FUNCTION with a different
signature in C is a compilation error, so this macro must use the