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,afdc9d59a2cfd4e8,start X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: GNAT Programming System Problems Date: Mon, 21 Jun 2004 21:54:34 -0700 Organization: Newport Instruments Message-ID: Reply-To: rleif@rleif.com NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1087880092 13376 212.85.156.195 (22 Jun 2004 04:54:52 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Tue, 22 Jun 2004 04:54:52 +0000 (UTC) To: Return-Path: X-Authenticated-User: rleif.rleif.com X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRYFFHmxVeBaHH3Sq6olLHdT+iCkQ== X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:1759 Date: 2004-06-21T21:54:34-07:00 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