On Mar 19, 8:34 pm, roustk <rou...@[EMAIL PROTECTED]
> wrote:
> On 2008-03-20 03:50:10, pete m <pmac...@[EMAIL PROTECTED]
> wrote:
>
> > I take the massive number of "warning, unused parameter is a sign that
> > the product is moving in a good direction. Those things happen when a
> > typedef function class doesn't need some of the parameters in a
> > particular implementation.
>
> I'm not seeing this for V 3.0.9b under MacOS 10.5.2.
>
> 'make -f Makefile.osx' has a bunch of warnings about deprecated things
> in main-crb.c (MacOS Carbon interface). There are 3 "defined but not
> used" errors as well, presumably related.
>
> './configure --enable-X11 --enable-gcu ; make install' generated *no*
> warnings (after fixing the #define uint in main-x11.c). I don't have
> either GTK or SDL installed at this point, so I can't check those.
>
> Kevin
main-gtk.c didn't generate warnings last I checked, as I normally go
through and eliminate all warnings before committing patches to it.
And for fun, I've been compiling with the following flags:
-pedantic -Wall -Wextra -Wpointer-arith -Wc++-compat -Wcast-qual -
Wmissing-field-initializers
Suddenly, the unused parameter errors don't look bad in
comparison... :)
--Shanoah


|