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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d694b5818a5102b1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-09-19 22:52:23 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!news.coop.net!news.den.mmc.com!iplmail.orl.mmc.com!romulus23!dennison From: dennison@romulus23.DAB.GE.COM (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: Naive question about system dependencies Date: 19 Sep 1994 12:05:10 GMT Organization: General Electric SCSD, Daytona Beach FL Sender: dennison@romulus23 (Ted Dennison) Distribution: world Message-ID: <35jupm$dkq@theopolis.orl.mmc.com> References: <35f559$mad@info.epfl.ch> NNTP-Posting-Host: romulus23.orl.mmc.com Date: 1994-09-19T12:05:10+00:00 List-Id: In article <35f559$mad@info.epfl.ch>, weber@lglsun.epfl.ch (Mats Weber) writes: |> In article |> Using a good file naming convention helps a lot in managing the |> different versions. We use something like this: |> |> sql_interface.ads (common package spec) |> sql_interface-oracle-vms.adb (body for Oracle under VMS) |> sql_interface-sybase-unix.adb (body for Sybase under UNIX) |> |> Despite the amount of code duplication, I prefer this to a preprocessor |> approach. This won't work under GNAT. GNAT doesn't allow you to use "a good file naming convention", you have to use theirs. T.E.D.