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 4f2b8d98c5f12279dbf95a71aa0cf0338e555936..31af0c7a48f22deeded0cefb132ba256db1e63ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index 2aaf067bdcd4a035a2cfd72a3752782c494e15b5..f26a1da620c97de6c9cbea30f48e4b51ae725a8d 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__,                          \