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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Function definitions Date: Sun, 22 Jun 2014 12:27:02 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <610b9d5b-a9a5-464d-9de3-b2f754f58cff@googlegroups.com> <7597c304-0dc2-41ad-b04e-1aef133e5b63@googlegroups.com> <49b56788-d1a4-4304-9e0c-b12336a7512c@googlegroups.com> Injection-Date: Sun, 22 Jun 2014 12:27:02 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="32065"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18F3qaiV6G7w8D0h4MsVVhJnCMEWJHWUZk=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:AOOtk/eBJnOO4CDGJyvXAalDKE0= Xref: number.nntp.dca.giganews.com comp.lang.ada:187149 Date: 2014-06-22T12:27:02+00:00 List-Id: On 2014-06-20, Adam Beneschan wrote: > > Right now you seem to be guessing that if you name two variables or two > functions with the same name, the language will magically connect everything > together. But it doesn't work like that. That's why I think you need to back > up a little and do some more reading about how Ada actually works. Actually, in C (when using binutils) it does work like that by default for some variable (but not function) definitions. It never occurred to me that someone might apply the same reasoning to Ada code. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world