changeset 8107:412732860e52

Put the word "warning:" into the warning message.
author Bruno Haible <bruno@clisp.org>
date Mon, 05 Feb 2007 03:39:57 +0000
parents 2ff19298dd56
children e22e004d89dd
files ChangeLog lib/string_.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/string_.h
+++ b/lib/string_.h
@@ -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__,				\