GNAT Pretty Printer?
From: Brian Catlin (BrianC_at_sannas.org.bad)
Date: 02/13/04
- Next message: Jeff C,: "Re: GNAT Pretty Printer?"
- Previous message: Joao Dias: "Re: Building with AdaGIDE"
- Next in thread: Jeff C,: "Re: GNAT Pretty Printer?"
- Reply: Jeff C,: "Re: GNAT Pretty Printer?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 13 Feb 2004 19:43:32 GMT
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
- Next message: Jeff C,: "Re: GNAT Pretty Printer?"
- Previous message: Joao Dias: "Re: Building with AdaGIDE"
- Next in thread: Jeff C,: "Re: GNAT Pretty Printer?"
- Reply: Jeff C,: "Re: GNAT Pretty Printer?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|