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,9023f3818c3c6a68 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-25 03:12:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!teaser.fr!enst.fr!not-for-mail From: sk Newsgroups: comp.lang.ada Subject: Re: Detecting the OS type before clearing screen Date: Tue, 25 Mar 2003 05:19:03 -0600 Organization: ENST, France Message-ID: References: <87adfjvj5i.fsf@inf.enst.fr> Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1048590741 37867 137.194.161.2 (25 Mar 2003 11:12:21 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 25 Mar 2003 11:12:21 +0000 (UTC) To: "comp.lang.ada mail to news gateway" Return-Path: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020828 X-Accept-Language: en-us, en X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:35679 Date: 2003-03-25T05:19:03-06:00 Hi, sam@rfc1149.net : > Rather than using a preprocessor which is really a "non-Ada" > way of doing things, I would suggest using a package with > two versions of the body (and even two version of the > spec if the private part is different). > > A link or a copy in the build procedure should do the job. I have found that either way tends to get messy. I don't like "make" files so I prefer to keep one source and use the gnat preprocesser. I would gladly welcome any experience of a "clean Ada" way of setting this up if you would care to share. -- ------------------------------------------------- -- Merge vertically for real address -- -- s n p @ t . o -- k i e k c c m -------------------------------------------------