comp.lang.ada
 help / color / mirror / Atom feed
From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: Naive question about system dependencies
Date: 19 Sep 1994 15:00:55 GMT
Date: 1994-09-19T15:00:55+00:00	[thread overview]
Message-ID: <35k937$1fqc@watnews1.watson.ibm.com> (raw)
In-Reply-To: 35jupm$dkq@theopolis.orl.mmc.com

In article <35jupm$dkq@theopolis.orl.mmc.com>,
dennison@romulus23.DAB.GE.COM (Ted Dennison) writes: 

|> In article <35f559$mad@info.epfl.ch>, weber@lglsun.epfl.ch (Mats Weber) writes: 
|> |> In article <Cw8GK2.M9y@inmet.camb.inmet.com>
|> |> 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. is apparently criticizing something about which he knows nothing.
The "good file naming convention" Mats proposes is precisely the GNAT
convention for child units named SQL_Interface.Oracle.VMS and
SQL_Interface.Sybase.Unix.

--
Norman H. Cohen    ncohen@watson.ibm.com



  parent reply	other threads:[~1994-09-19 15:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-15  6:32 Naive question about system dependencies Howard Holm
1994-09-16 17:28 ` Tucker Taft
1994-09-17 16:23   ` Mats Weber
1994-09-19 12:05     ` Ted Dennison
1994-09-19 14:39       ` Cyrille Comar
1994-09-19 15:00       ` Norman H. Cohen [this message]
1994-09-20  9:02       ` Stephen J Bevan
     [not found]     ` <85B716C4188@annwfn.com>
1994-09-22 13:33       ` David Kehs
1994-09-22 14:15       ` Robert Dewar
1994-09-23  4:34         ` R. William Beckwith
1994-09-22 14:54       ` Norman H. Cohen
  -- strict thread matches above, loose matches on Subject: below --
1994-09-19 14:48 Bob Crispen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox