From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a81d41286a84976,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-13 11:43:32 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!decbec26!not-for-mail From: "Brian Catlin" Newsgroups: comp.lang.ada Subject: GNAT Pretty Printer? Organization: Sannas Consulting X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Fri, 13 Feb 2004 19:43:32 GMT NNTP-Posting-Host: 67.101.164.199 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1076701412 67.101.164.199 (Fri, 13 Feb 2004 11:43:32 PST) NNTP-Posting-Date: Fri, 13 Feb 2004 11:43:32 PST Xref: archiver1.google.com comp.lang.ada:5543 Date: 2004-02-13T19:43:32+00:00 List-Id: 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