comp.lang.ada
 help / color / mirror / Atom feed
From: "Brian Catlin" <BrianC@sannas.org.bad>
Subject: GNAT Pretty Printer?
Date: Fri, 13 Feb 2004 19:43:32 GMT
Date: 2004-02-13T19:43:32+00:00	[thread overview]
Message-ID: <EN9Xb.2799$WW3.1042@newsread2.news.pas.earthlink.net> (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





             reply	other threads:[~2004-02-13 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 19:43 Brian Catlin [this message]
2004-02-13 20:04 ` GNAT Pretty Printer? 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
replies disabled

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