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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6426898aedaa5880 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!rain.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <46FBE17B.6060007@obry.net> Date: Thu, 27 Sep 2007 18:59:39 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Georg Bauhaus Subject: Re: Pragma for conditional compilation? (Ada 2005 vs. 95) References: <1190879769.361848.188220@22g2000hsm.googlegroups.com> <1190885467.22443.5.camel@sonnenregen> In-Reply-To: <1190885467.22443.5.camel@sonnenregen> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 27 Sep 2007 18:59:42 CEST NNTP-Posting-Host: 82.124.115.109 X-Trace: 1190912382 news.orange.fr 5100 82.124.115.109:1035 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:2165 Date: 2007-09-27T18:59:42+02:00 List-Id: Georg Bauhaus a �crit : > Sounds like simple configuration management will help. > If you are using GNAT, make two project files, and two > source directories for units that differ. Or one project file with the proper directory selected by a project variable. This variable will appear inside GPS (see scenario view). Quite handy and very simple. But I agree, no conditional compilation needed this is a configuration management issue. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595