comp.lang.ada
 help / color / mirror / Atom feed
* GNAT Programming System Problems
@ 2004-06-22  4:54 Robert C. Leif
  2004-06-22  6:06 ` Martin Krischik
  2004-06-22 20:58 ` Simon Wright
  0 siblings, 2 replies; 9+ messages in thread
From: Robert C. Leif @ 2004-06-22  4:54 UTC (permalink / raw)
  To: comp.lang.ada

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






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-06-23 13:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22  4:54 GNAT Programming System Problems Robert C. Leif
2004-06-22  6:06 ` 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

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