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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 10 Mar 2005 14:47:31 +1100 From: Song Yun Zhao Reply-To: mr_songyunzhao@yahoo.com.au User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: tna1-syd-adsl.alphalink.com.au Message-ID: <422fc352$1@news.alphalink.com.au> X-Trace: news.alphalink.com.au 1110426450 202.161.95.18 (10 Mar 2005 14:47:30 +1100) Organization: Alphalink (Australia) Pty. Ltd. Path: g2news1.google.com!news3.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news-north.connect.com.au!news.alphalink.com.au!not-for-mail Xref: g2news1.google.com comp.lang.ada:8999 comp.lang.c++:44897 comp.realtime:1175 comp.software-eng:4738 Date: 2005-03-10T14:47:31+11:00 List-Id: Larry Kilgallen wrote: > In article <1110052142.832650@athnrd02>, Ioannis Vranos writes: > >>Ludovic Brenta wrote: > > >>>The bug in the C++ library was that I was mistakenly reusing the loop >>>variable after the loop, instead of the intended variable. Of course, >>>the loop variable was an index pointing after the end of the buffer. >> >> >>It looks like the code was not ISO C++ compliant. > > > In that case, it looks like the compiler failed to detect that shortcoming. A real man's compiler http://somewhere.fscked.org/rmcc/ :)