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

From: Olly Betts (olly@survex.com)
Date: Wed Feb 25 2004 - 14:12:02 GMT


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



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