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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,17e99293e94a7e6f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-31 05:00:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Another ammunition Date: Tue, 31 Dec 2002 13:57:04 +0100 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1041339194 20647 195.25.228.57 (31 Dec 2002 12:53:14 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 31 Dec 2002 12:53:14 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Xref: archiver1.google.com comp.lang.ada:32406 Date: 2002-12-31T13:57:04+01:00 List-Id: "Eric G. Miller" a �crit dans le message news: IpfQ9.4953 > > It took a week to understand what was happenning. Would not have passed the > > first compilation in Ada. FWIW... > > You're right, but I'm sure gcc could have immediately diagnosed the > problem had you turned up the warnings ("conflicting types for...", "previous > declaration of ..."). > Warnings were on, he just overlooked them.... That's what makes a huge difference between a warning which is up to the good will of the compiler (and the programmer paying attention to it), and a *required* compile time error! (count that as another moral of the story). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr