[Snowball-discuss] Problems with -Wall flag

Olly Betts olly@survex.com
Wed Feb 25 14:12:02 2004


On Wed, Feb 25, 2004 at 10:29:13AM +0000, Martin Porter wrote:
> >examples/stemwords.c +149 -- "warning: too few arguments for format"
> >fprintf(stderr, "language `%s' not available for stemming\n", "english");
> 
> -- I can see nothing wrong here

That line of code currently reads:

        fprintf(stderr, "language `%s' not available for stemming\n");

There's no argument corresponding to the %s...

Hmm, that code is in the snowball directory, which we aren't meant to be using
yet, are we?  Or is Richard's warning in snowball/README out of date?

Cheers,
  Olly