]> git.sesse.net Git - vlc/commitdiff
During the compilation, print errors and warnings on stderr.
authorRémi Duraffort <ivoire@videolan.org>
Sun, 16 Mar 2008 20:33:27 +0000 (21:33 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 16 Mar 2008 20:34:41 +0000 (21:34 +0100)
extras/buildsystem/make.pl

index 32f3cbd529fff5c1557992ef8aab6e72eef6dfa7..052b9525babb432a5fe303aaf2a6933563119fec 100755 (executable)
@@ -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