Talk About Network



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 > Compiler warnin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 6470 of 6547
Post > Topic >>

Compiler warnings.

by pete m <pmac360@[EMAIL PROTECTED] > Mar 19, 2008 at 07:50 PM

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.

Unfortunately, the number of these warnings has become overwhelming.
Is there a good way to clean this up?
Use anonymous parameters (C++ style)?
Disable the warning?

Something else?  (

I am hoping this won't require a bunch of

     (void) foo;
or
#    pragma unused(foo)

statements.  These constructs are both tedious and ugly.




 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 Fri May 16 23:03:24 CDT 2008.