comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: GNAT Pretty Printer?
Date: 13 Feb 2004 21:10:32 -0500
Date: 2004-02-13T21:10:32-05:00	[thread overview]
Message-ID: <mailman.32.1076724643.295.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <75aXb.29490$uV3.52442@attbi_s51>

"Jeff C," <jcreem@yahoo.com> writes:

> "Brian Catlin" <BrianC@sannas.org.bad> 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




  parent reply	other threads:[~2004-02-14  2:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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