Put the word "warning:" into the warning message.
authorBruno Haible <bruno@clisp.org>
Mon, 5 Feb 2007 03:39:57 +0000 (03:39 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Feb 2007 03:39:57 +0000 (03:39 +0000)
ChangeLog
lib/string_.h

index 4f2b8d9..31af0c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-02-04  Bruno Haible  <bruno@clisp.org>
 
+       * lib/string_.h (GL_LINK_WARNING2): Put the word "warning:" into the
+       warning message.
+
+2007-02-04  Bruno Haible  <bruno@clisp.org>
+
        New module mbstok_r.
        * modules/mbstok_r: New file.
        * lib/mbstok_r.c: New file.
index 2aaf067..f26a1da 100644 (file)
@@ -37,7 +37,7 @@
 #  define GL_LINK_WARNING1(file, line, message) \
      GL_LINK_WARNING2 (file, line, message)  /* macroexpand file and line */
 #  define GL_LINK_WARNING2(file, line, message) \
-     GL_LINK_WARNING3 (file ":" #line ": " message)
+     GL_LINK_WARNING3 (file ":" #line ": warning: " message)
 #  define GL_LINK_WARNING3(message) \
      ({ static const char warning[sizeof (message)]            \
           __attribute__ ((__unused__,                          \