comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert C. Leif" <rleif@rleif.com>
To: <comp.lang.ada@ada-france.org>
Subject: GNAT Programming System Problems
Date: Mon, 21 Jun 2004 21:54:34 -0700
Date: 2004-06-21T21:54:34-07:00	[thread overview]
Message-ID: <mailman.137.1087880092.391.comp.lang.ada@ada-france.org> (raw)

After much time and effort, I have been able to compile a program with the
GNAT Programming System.  Initially, when I created a project, the files
would neither compile nor even check syntax.  I received a message,

"pretty_printer" is not an allowed package name
warning: undefined attribute "default_switches"

This problem was eliminated by commenting out information on the pretty
printer in the .gpr file.

--     package Pretty_Printer is
--        for Default_Switches ("Ada") use ("");
--     end Pretty_Printer;

For each of my Ada Utilities, I created its own project.  Since in each
utility there are packages (mostly bodies) that depend on packages in
another utility, there are circular dependencies amongst the .gpr files.
Fortunately, these do not exist in the specifications.  After extensive
searching, I found mention of a "limited with construct".  The addition of
limited before with in the project file did not work.

Obviously, I would greatly appreciate help.  I also should state that I have
described one of the reasons for the Ada's lack of popularity.  Microsoft
and other software manufacturers have demonstrated that for the customer the
ease of use of the environment can outweigh the comparative lack of quality
of the compiler.  I was hopping that the development of A# would result in a
commercial quality compiler that could be hosted, as many other languages
have been, under Microsoft Visual Studio.  The traditional Ada compiler
vendors might extend their J code generators to produce the ECMA
intermediate language employed by Microsoft.

Robert (Bob) Leif






             reply	other threads:[~2004-06-22  4:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22  4:54 Robert C. Leif [this message]
2004-06-22  6:06 ` GNAT Programming System Problems Martin Krischik
2004-06-22 14:06   ` Robert Love
2004-06-22 14:39     ` Ludovic Brenta
2004-06-23 13:39       ` Robert Love
2004-06-22 15:10     ` Arnaud Charlet
2004-06-22 20:58 ` Simon Wright
2004-06-22 22:04   ` Ludovic Brenta
2004-06-23  4:51     ` Simon Wright
replies disabled

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