OSDN Git Service

Merge remote-tracking branch 'gnu/gcc-4_7-branch' into rework
[pf3gnuchains/gcc-fork.git] / gcc / ada / prj-err.adb
index 4f5aea1..75cf23b 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2002-2010, Free Software Foundation, Inc.         --
+--          Copyright (C) 2002-2011, Free Software Foundation, Inc.         --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -78,7 +78,7 @@ package body Prj.Err is
       --  triggered)
 
       if Current_Verbosity = High then
-         Write_Line ("ERROR: " & Msg);
+         Debug_Output ("ERROR: " & Msg);
       end if;
 
       --  If location of error is unknown, use the location of the project
@@ -96,7 +96,7 @@ package body Prj.Err is
          --  access to in any case.
 
          if Current_Verbosity = High then
-            Write_Line ("Error in in-memory project, ignored");
+            Debug_Output ("Error in in-memory project, ignored");
          end if;
 
          return;