]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/warn.cc
* buildscripts/analyse-cxx-log.py: new file. Read compile log to
[lilypond.git] / flower / warn.cc
index 24117d7ec4d9632270aa16b576066482cd16c8c8..c911526c97c5e012c770617796ca6995056413c5 100644 (file)
@@ -23,7 +23,7 @@ progress_indication (String s)
   if (s == "\n")
     return;
 
-  fputs (s.to_str0 (), stderr);
+  fputs (s.c_str (), stderr);
   fflush (stderr);
   if (s.length ())
     progress_newline = s[s.length () - 1] == '\n';
@@ -42,13 +42,13 @@ message (String s)
 void
 warning (String s)
 {
-  message (_f ("warning: %s", s.to_str0 ()) + "\n");
+  message (_f ("warning: %s", s.c_str ()) + "\n");
 }
 
 void
 non_fatal_error (String s)
 {
-  message (_f ("error: %s", s.to_str0 ()) + "\n");
+  message (_f ("error: %s", s.c_str ()) + "\n");
 }
 
 /* Display an error message.  Always starts on a new line.  */