]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/warn.cc
Run `make grand-replace'.
[lilypond.git] / flower / warn.cc
index c911526c97c5e012c770617796ca6995056413c5..74be7c2453ba6c22666639b7d7043d96e1ba8eaf 100644 (file)
@@ -3,13 +3,16 @@
 
   source file of the Flower Library
 
-  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "warn.hh"
 
 #include <cstdlib>
 #include <cstdio>
+
+#include "international.hh"
+
 using namespace std;
 
 /* Is progress indication at NEWLINE?  */
@@ -17,7 +20,7 @@ static bool progress_newline = true;
 
 /* Display user information that is not a full message.  */
 void
-progress_indication (String s)
+progress_indication (string s)
 {
   /* Test if all silly progress_indication ("\n") can be dropped now.  */
   if (s == "\n")
@@ -31,7 +34,7 @@ progress_indication (String s)
 
 /* Display a single user message.  Always starts on a new line.  */
 void
-message (String s)
+message (string s)
 {
   if (!progress_newline)
     fputc ('\n', stderr);
@@ -40,27 +43,27 @@ message (String s)
 
 /* Display a warning message.  Always starts on a new line.  */
 void
-warning (String s)
+warning (string s)
 {
   message (_f ("warning: %s", s.c_str ()) + "\n");
 }
 
 void
-non_fatal_error (String s)
+non_fatal_error (string s)
 {
   message (_f ("error: %s", s.c_str ()) + "\n");
 }
 
 /* Display an error message.  Always starts on a new line.  */
 void
-error (String s)
+error (string s)
 {
   non_fatal_error (s);
   exit (1);
 }
 
 void
-programming_error (String s)
+programming_error (string s)
 {
   message (_f ("programming error: %s", s) + "\n");
   message (_ ("continuing, cross fingers") + "\n");