From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.4 required=3.0 tests=BAYES_00,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: ... !! GPS Date: Fri, 29 Jan 2021 17:40:47 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <3d337aff-76c2-4360-9223-1d55db2f889fn@googlegroups.com> NNTP-Posting-Host: 5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:61234 List-Id: On 2021-01-29 17:15, Mehdi Saada wrote: > What the Ѐßß is that ? it ran on other exercises, then would not, so with a minimal program... it fails too. > > project Default is > for Source_Dirs use ("src"); for Source_Files use ("main.adb"); -- Why do I stuff everything -- in one directory? for Exec_Dir use "obj"; -- Remind me, why do I want executable -- in the objects directory? > for Object_Dir use "obj"; > for Main use ("main.adb"); > end Default; > > it always uses "src" which includes the files from other projects/exos. So they appear on the project... ! > > Thanks for putting up with this... > Is there a simple compiler which still corrects for semantics ? P.S. When nothing else helps, as the last resort, of course, consider reading the manual. (:-)) https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/gnat_project_manager.html -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de