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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.53.165 with SMTP id c5mr160110obp.0.1382649148912; Thu, 24 Oct 2013 14:12:28 -0700 (PDT) X-Received: by 10.182.199.39 with SMTP id jh7mr2671obc.25.1382649148600; Thu, 24 Oct 2013 14:12:28 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!newspeer1.nac.net!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!o2no24629428qas.0!news-out.google.com!z6ni90232pbu.0!nntp.google.com!i2no32187514qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 24 Oct 2013 14:12:28 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.177.1.217; posting-account=mZyFSQoAAABfOmklsh1d8TPbS2LncUKl NNTP-Posting-Host: 148.177.1.217 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Curious function signature issue From: "RasikaSrinivasan@gmail.com" Injection-Date: Thu, 24 Oct 2013 21:12:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17524 Date: 2013-10-24T14:12:28-07:00 List-Id: all I have a package P that looks like this: package P is type Person_Type is private ; function Create( targetsfile : String := "targets.dat" ; basalfile : String := "basal.dat" ; isffile : String := "isf.dat" ; icrfile : String := "icr.dat" ) return Person_Type ; function Create return Person_Type ; .... .... end P ; I am curious how gnat (2013 if it matters) can distinguish between the two overloaded "Create" functions? The project built successfully though I am yet to exercise the runtime. thanks for any clues, srini