Re: [Snowball-discuss] Problems with -Wall flag

From: Neal Richter (
Date: Wed Feb 25 2004 - 00:56:03 GMT

On Tue, 24 Feb 2004, Olly Betts wrote:

> > I also get these errors in the C code generated:
> Coding standards are for humans. Insisting machine-generated code
> conforms to coding standards is foolish - the fact that Snowball
> compiles via C is really just an implementation detail (like the
> fact GCC compiles to machine code via assembly language - does
> your organisation insist that the assembly code GCC generates
> meets your coding standards?)

  Is this a thank you for the polite input?

  10 of the 14 errors reported were not machine generated.

  I made no claim for coding standards for machine-generated code. In
general, enforcing any kind of style on this type of code is silly and
fairly hard. Correctness is the only real metric, and efficiency is a

  Note that the 'unused variable m' error at a minimum results in several
meaningless machine instructions. Keeping track of when/if it is used is
hard, so I have no problem if you want to ignore it.

  Thanks for all your hard work on Snowball.

Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485

This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:46 BST