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-Thread: 103376,f822ae7b0f7433c1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.ecp.fr!aioe.org!not-for-mail From: Cesar Rabak Newsgroups: comp.lang.ada Subject: Re: Translating an embedded C algorithm -- OT Date: Thu, 18 Jan 2007 20:05:11 -0200 Organization: Aioe.org NNTP Server Message-ID: References: <1168871816.263502.212100@11g2000cwr.googlegroups.com> <45ace573$1_3@news.bluewin.ch> <68qioe.mes.ln@hunter.axlog.fr> <1168963927.396654.169380@s34g2000cwa.googlegroups.com> <1169110571.673281.275410@v45g2000cwv.googlegroups.com> NNTP-Posting-Host: zEJK12x7djBBvRARhduGQA.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org In-Reply-To: User-Agent: Thunderbird 1.5.0.8 (X11/20061109) Xref: g2news2.google.com comp.lang.ada:8282 Date: 2007-01-18T20:05:11-02:00 List-Id: Talulah escreveu: > Cesar Rabak wrote: > >> Maciej Sobczak escreveu: >>> Cesar Rabak wrote: [snipped] >>> And you do compile with -Wall, right? >>> >> Not all C code is compiled [only] with gcc... > > > Quite right Cesar! I guess very little EMBEDDED code is compiled with > GCC. This is why in our company we have a rule that code must first > pass through Lint (which would catch that error) before being peer code > reviewed! > Yes, several companies I do consulting for have this practice in place. Run trough a pretty printer and a version of lint.