[vlc-devel] commit: During the compilation, print errors and warnings on stderr. ( Rémi Duraffort )

git version control git at videolan.org
Sun Mar 16 20:34:28 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar 16 21:33:27 2008 +0100| [f0c27947efb2fab7144ffd3425e3822d6073d622]

During the compilation, print errors and warnings on stderr.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f0c27947efb2fab7144ffd3425e3822d6073d622
---

 extras/buildsystem/make.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/buildsystem/make.pl b/extras/buildsystem/make.pl
index 32f3cbd..052b952 100755
--- a/extras/buildsystem/make.pl
+++ b/extras/buildsystem/make.pl
@@ -63,13 +63,13 @@ while(<STDIN>)
 	  $line =~ s/(.*):([0-9]*):\swarning\:(.*)/WARNING : $file$1: $lineno$2: $warn$3/g  ||
           $line =~ s/.*is\sdeprecated.*/WARNING : $line/g )
      {
-	print $warn.$line.$reset."\n";
+	print STDERR $warn.$line.$reset."\n";
      }
      # Error
      elsif (
 	  $line =~ s/(.*):([0-9]*):\serror\:(.*)/ERROR   : $file$1: $lineno$2: $error$3/g  )
      {
-	print $error.$line.$reset."\n";
+	print STDERR $error.$line.$reset."\n";
      }
      # Print unmatched lines
      else




More information about the vlc-devel mailing list