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 3 of 9 Topic 6470 of 6640
Post > Topic >>

Re: Compiler warnings.

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

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.

Damn.  That was quick--I made the 'modernized' carbon ****t just a few
years ago.  I can't believe it's deprecated already. Grrr :/

> './configure --enable-X11 --enable-gcu ; make install' generated *no*
> warnings (after fixing the #define uint in main-x11.c).

Add -pedantic to CFLAGS.  OS X gcc is sane about the stupid 'unused
parameter warning' with only -Wall enabled.  Unfortunately, the same
is not true of gcc in general.
 




 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 Thu Jul 24 14:36:19 CDT 2008.