comp.lang.ada
 help / color / mirror / Atom feed
* GNAT Pretty Printer?
@ 2004-02-13 19:43 Brian Catlin
  2004-02-13 20:04 ` Jeff C,
  0 siblings, 1 reply; 7+ messages in thread
From: Brian Catlin @ 2004-02-13 19:43 UTC (permalink / raw)


I just downloaded GNAT 3.15P and GPS 1.4.  I started GPS, and used the wizard to
create a simple project.  When I tried to compile the project, I got the
following error:
-------------------------------------------------
gnatmake -d -Pd:\temp\adatest\test.gpr d:\temp\adatest\Test.adb
test.gpr:7:12: "pretty_printer" is not an allowed package name
test.gpr:8:11: warning: undefined attribute "default_switches"
gnatmake: "d:\temp\adatest\test.gpr" processing failed

process exited with status 4

-------------------------------------------------

Where do I get the GNAT Pretty Printer?

Here is the project file:
-------------------------------------------------
project Test is

   for Languages use ("Ada");
   for Source_Dirs use (".");
   for Object_Dir use ".";

   package Pretty_Printer is
      for Default_Switches ("ada") use ("");
   end Pretty_Printer;

   package Linker is
      for Default_Switches ("ada") use ("-g");
   end Linker;

   package Binder is
      for Default_Switches ("ada") use ("-static");
   end Binder;

   package Compiler is
      for Default_Switches ("ada") use ("-g");
      for Default_Switches ("c") use ("");
      for Default_Switches ("c++") use ("");
   end Compiler;

   package Builder is
      for Default_Switches ("ada") use ("-g", "-gnatQ");
   end Builder;

   for Main use ("Test.adb");

end Test;

-------------------------------------------------

 -Brian





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-02-14 17:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13 19:43 GNAT Pretty Printer? Brian Catlin
2004-02-13 20:04 ` Jeff C,
2004-02-13 20:21   ` Brian Catlin
2004-02-14  0:27     ` Jeff C,
2004-02-14  2:11       ` Stephen Leake
2004-02-14  2:10   ` Stephen Leake
2004-02-14 17:09     ` Gautier Write-only

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox