Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Angband > Re: Compiler wa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 9 Topic 6470 of 6642
Post > Topic >>

Re: Compiler warnings.

by "arcum42@[EMAIL PROTECTED] " <arcum42@[EMAIL PROTECTED] > Mar 20, 2008 at 04:54 AM

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
 




 9 Posts in Topic:
Compiler warnings.
pete m <pmac360@[EMAIL  2008-03-19 19:50:10 
Re: Compiler warnings.
roustk <roustk@[EMAIL   2008-03-20 03:34:14 
Re: Compiler warnings.
pete m <pmac360@[EMAIL  2008-03-19 21:36:20 
Re: Compiler warnings.
roustk <roustk@[EMAIL   2008-03-20 14:25:21 
Re: Compiler warnings.
Antony Sidwell <antony  2008-03-20 15:42:44 
Re: Compiler warnings.
Antony Sidwell <antony  2008-03-20 08:37:00 
Re: Compiler warnings.
"arcum42@[EMAIL PROT  2008-03-20 04:54:40 
Re: Compiler warnings.
pete m <pmac360@[EMAIL  2008-03-20 09:01:16 
Re: Compiler warnings.
"arcum42@[EMAIL PROT  2008-03-20 13:51:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 4:40:31 CDT 2008.