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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2609b140b6fc94c5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-24 20:10:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: compiling error From: James Rogers References: Message-ID: User-Agent: Xnews/5.04.25 Date: Thu, 25 Sep 2003 03:10:13 GMT NNTP-Posting-Host: 12.86.33.181 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1064459413 12.86.33.181 (Thu, 25 Sep 2003 03:10:13 GMT) NNTP-Posting-Date: Thu, 25 Sep 2003 03:10:13 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:42872 Date: 2003-09-25T03:10:13+00:00 List-Id: Andrew wrote in news:vn4knggj9ptu19@corp.supernews.com: > I'm trying to compile a program and since I'm a little new to the linux > compiler, the output is .. well kind of throwing me.. I'm hoping that > someone can help me out. > > here is the input / output > > ========== > gnatmake maze.adb > gcc -c maze.adb > maze.adb:228:12: too many arguments in call > gnatmake: "maze.adb" compilation error > ========== > > I believe that it is telling me what line (I hope) that the error is > occuring on. > Is it telling me that line 12 is where the error is at? > > I only ask because when I count down 12 lines (including blank lines) > the line looks ok. So I'm hoping that someone can fill me in on how to > read the output, in terms of : is it telling what line the error is on. > > It is telling you that the offending code is at column 12 of line 228. It is also telling you that your procedure or function call contains more arguments than were declared in the procedure or function specification. Jim Rogers