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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a81d41286a84976 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-13 18:13:34 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT Pretty Printer? Date: 13 Feb 2004 21:10:32 -0500 Organization: Cuivre, Argent, Or Message-ID: References: <75aXb.29490$uV3.52442@attbi_s51> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1076724644 44815 80.67.180.195 (14 Feb 2004 02:10:44 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Sat, 14 Feb 2004 02:10:44 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <75aXb.29490$uV3.52442@attbi_s51> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:5559 Date: 2004-02-13T21:10:32-05:00 "Jeff C," writes: > "Brian Catlin" wrote in message > news:EN9Xb.2799$WW3.1042@newsread2.news.pas.earthlink.net... > > 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 > > > > GNAT 3.15p does not contain support for the gnat pretty printer capability > that GPS uses. I've posted a few times the fact that gnat 3.15 is not really > fully compatible with GPS and that it leaves people > thinking GPS is more broken than it already is. > > When gcc 3.4 is finally released and then updated for mingw you should > be able to get this capability. Note that this is just more than a package > that > you need to download for this to work. It really needs to be fully > supported by the compiler. Right. In the mean time, you can try editing the .gpr project file; just delete the "pretty printer" package. Next time you modify a project setting, it will reappear, which will be annoying. Better to use the One True Editor, Gnu Emacs. It doesn't insist on writting the project file for you, so you can use them quite successfully with GNAT 3.15p. It takes longer to learn than GPS, but it is well worth it! -- -- Stephe